1. Anthony Tuininga
  2. cx_Freeze

Commits

Anthony Tuininga  committed 5890b14

Now that the file name is stripped in advance we need to check for the case
when the file name starts with a parenthesis.

  • Participants
  • Parent commits a1e7fd6
  • Branches default

Comments (0)

Files changed (1)

File cx_Freeze/freezer.py

View file
                             message = "WARNING: cannot find %s\n" % fileName
                             sys.stdout.write(message)
                         continue
+                    if dependentFile.startswith("("):
+                        continue
                     pos = dependentFile.find(" (")
                     if pos >= 0:
                         dependentFile = dependentFile[:pos].strip()