Fixed an issue creating a new package in the project root.

Tue, 20 Mar 2012 19:40:18 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Mar 2012 19:40:18 +0100
changeset 1721
1dc3370687a5
parent 1720
201622cf8a01
child 1723
6e690a8f5971

Fixed an issue creating a new package in the project root.

Project/Project.py file | annotate | diff | comparison | revisions
diff -r 201622cf8a01 -r 1dc3370687a5 Project/Project.py
--- a/Project/Project.py	Mon Mar 19 20:14:07 2012 +0100
+++ b/Project/Project.py	Tue Mar 20 19:40:18 2012 +0100
@@ -583,6 +583,8 @@
             .replace("\\", "@@")\
             .replace("/", "@@")\
             .replace("@@", r"[\\/]")
+        if ppathRe.endswith(r"[\\/]"):
+            ppathRe += "*"
         if Utilities.isWindowsPlatform():
             self.ppathRe = re.compile(ppathRe, re.IGNORECASE)
         else:

eric ide

mercurial