[Zope-CVS] CVS: Packages/WinBuilders/zeo_addons/utilities - decompilezpy.py:1.2

Tim Peters tim.one at comcast.net
Sun Jan 25 23:13:34 EST 2004


Update of /cvs-repository/Packages/WinBuilders/zeo_addons/utilities
In directory cvs.zope.org:/tmp/cvs-serv13324/zeo_addons/utilities

Modified Files:
	decompilezpy.py 
Log Message:
Most of the text files here had \r\n line ends checked in to the CVS
repository, so on checkout you got \r\n line ends on Linux and \r\r\n
line ends on Windows.  This just replaces the line ends so that they're
"normal" for text files.


=== Packages/WinBuilders/zeo_addons/utilities/decompilezpy.py 1.1 => 1.2 ===
--- Packages/WinBuilders/zeo_addons/utilities/decompilezpy.py:1.1	Wed Aug 20 16:53:54 2003
+++ Packages/WinBuilders/zeo_addons/utilities/decompilezpy.py	Sun Jan 25 23:13:33 2004
@@ -1,28 +1,28 @@
-#!/usr/bin/env python
-##############################################################################
-#
-# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE
-#
-##############################################################################
-import os
-import sys
-
-def main(dirname):
-    os.path.walk(dirname, rmpycs, None)
-
-def rmpycs(arg, dirname, names):
-    for name in names:
-        path = os.path.join(dirname, name)
-        if ( name.endswith('.pyc') or name.endswith('.pyo') and
-             os.path.isfile(path) ):
-            os.unlink(path)
-
-if __name__ == '__main__':
-    main(sys.argv[1])
+#!/usr/bin/env python
+##############################################################################
+#
+# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE
+#
+##############################################################################
+import os
+import sys
+
+def main(dirname):
+    os.path.walk(dirname, rmpycs, None)
+
+def rmpycs(arg, dirname, names):
+    for name in names:
+        path = os.path.join(dirname, name)
+        if ( name.endswith('.pyc') or name.endswith('.pyo') and
+             os.path.isfile(path) ):
+            os.unlink(path)
+
+if __name__ == '__main__':
+    main(sys.argv[1])




More information about the Zope-CVS mailing list