]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#11781: update windows build script to account for move of email tests
authorR David Murray <rdmurray@bitdance.com>
Sat, 18 Jun 2011 15:45:59 +0000 (11:45 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 18 Jun 2011 15:45:59 +0000 (11:45 -0400)
Tools/msi/msi.py

index 18638eb0c0a851222124e8b696062e9e96405f55..de1a6233238e62b53ffef1564d2eece78e9b7692 100644 (file)
@@ -1057,14 +1057,14 @@ def add_files(db):
             lib.add_file("turtle.cfg")
         if dir=="pydoc_data":
             lib.add_file("_pydoc.css")
-        if dir=="data" and parent.physical=="test" and parent.basedir.physical=="email":
+        if dir=="data" and parent.physical=="test_email":
             # This should contain all non-.svn files listed in subversion
             for f in os.listdir(lib.absolute):
                 if f.endswith(".txt") or f==".svn":continue
                 if f.endswith(".au") or f.endswith(".gif"):
                     lib.add_file(f)
                 else:
-                    print("WARNING: New file %s in email/test/data" % f)
+                    print("WARNING: New file %s in test/test_email/data" % f)
         for f in os.listdir(lib.absolute):
             if os.path.isdir(os.path.join(lib.absolute, f)):
                 pydirs.append((lib, f))