diff --git a/rope/base/resources.py b/rope/base/resources.py index cb975bde1..b284ba9f1 100644 --- a/rope/base/resources.py +++ b/rope/base/resources.py @@ -64,8 +64,11 @@ def remove(self): """Remove resource from the project""" self._perform_change(change.RemoveResource(self), "Removing <%s>" % self.path) + def is_dir(self): + """Alias for `is_folder()`""" + def is_folder(self): - """Return true if the resource is a folder""" + """Return True if the resource is a Folder""" def create(self): """Create this resource"""