Project/Project.py

changeset 122
34a81cd4420b
parent 118
8be7b777742c
child 151
00c27aeede62
--- a/Project/Project.py	Tue Feb 23 18:45:20 2010 +0000
+++ b/Project/Project.py	Fri Feb 26 07:08:19 2010 +0000
@@ -1843,7 +1843,7 @@
                 return
             
             if filetype == 'OTHERS':
-                self.__addToOthers(source)
+                self.addToOthers(source)
                 return
             
             if source == '':
@@ -1859,11 +1859,11 @@
             else:
                 self.__addSingleDirectory(filetype, source, target)
         
-    def __addToOthers(self, fn):
-        """
-        Private method to add file/directory to the OTHERS project data.
-        
-        @param fn filename or directoryname to add
+    def addToOthers(self, fn):
+        """
+        Public method to add a file/directory to the OTHERS project data.
+        
+        @param fn file name or directory name to add (string)
         """
         if fn:
             # if it is below the project directory, make it relative to that

eric ide

mercurial