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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Mar 2012 19:40:18 +0100
branch
5_2_x
changeset 1722
267dc49092c4
parent 1712
0f345e53a8b7
child 1724
361b8dea9251

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

Project/Project.py file | annotate | diff | comparison | revisions
--- a/Project/Project.py	Sat Mar 17 19:29:01 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