Commits

Ali Gholami Rudi  committed aae8b49

project: closing NoProjects does not make sense

  • Participants
  • Parent commits 0949073

Comments (0)

Files changed (1)

File rope/base/project.py

     def is_ignored(self, resource):
         return False
 
-    def close(self):
-        """Closes project open resources"""
-
-    def sync(self):
-        """Closes project open resources"""
-        self.close()
-
     def get_prefs(self):
         return self.prefs
 
     def is_ignored(self, resource):
         return self.ignored.is_ignored(resource)
 
+    def sync(self):
+        """Closes project open resources"""
+        self.close()
+
     def close(self):
+        """Closes project open resources"""
         self.data_files.write()
-        super(Project, self).close()
 
     def set(self, key, value):
         """Set the `key` preference to `value`"""