[Python-apps-commits] r2864 - in packages/osc/trunk/debian/patches (fix-syntax.patch)

nijel at users.alioth.debian.org nijel at users.alioth.debian.org
Tue May 5 11:53:18 UTC 2009


    Date: Tuesday, May 5, 2009 @ 11:53:18
  Author: nijel
Revision: 2864

More cases of same problem.

Modified:
  packages/osc/trunk/debian/patches/fix-syntax.patch

Modified: packages/osc/trunk/debian/patches/fix-syntax.patch
===================================================================
--- packages/osc/trunk/debian/patches/fix-syntax.patch	2009-05-05 11:51:48 UTC (rev 2863)
+++ packages/osc/trunk/debian/patches/fix-syntax.patch	2009-05-05 11:53:18 UTC (rev 2864)
@@ -10,6 +10,15 @@
      """Represents an ar header entry"""
      def __init__(self, fn, date, uid, gid, mode, size, fmag, off):
          self.file = fn.strip()
+@@ -79,7 +79,7 @@
+         return '%s %s %s %s' % (self.name, self.uid,
+                                 self.gid, self.mode)
+ 
+-class Ar():
++class Ar:
+     """
+     Represents an ar archive (only GNU format is supported).
+     Readonly access.
 --- a/osc/util/cpio.py
 +++ b/osc/util/cpio.py
 @@ -27,7 +27,7 @@
@@ -21,3 +30,12 @@
      """
      Represents a cpio header ("New" portable format and CRC format).
      """
+@@ -64,7 +64,7 @@
+     def __str__(self):
+         return "%s %s %s %s" % (self.filename, self.filesize, self.namesize, self.dataoff)
+ 
+-class Cpio():
++class Cpio:
+     """
+     Represents a cpio archive.
+     Supported formats:




More information about the Python-apps-commits mailing list