[Python-apps-commits] r2863 - in packages/osc/trunk/debian (3 files)
nijel at users.alioth.debian.org
nijel at users.alioth.debian.org
Tue May 5 11:51:49 UTC 2009
Date: Tuesday, May 5, 2009 @ 11:51:48
Author: nijel
Revision: 2863
Fix syntax error with with Python 2.4.
Added:
packages/osc/trunk/debian/patches/fix-syntax.patch
Modified:
packages/osc/trunk/debian/changelog
packages/osc/trunk/debian/patches/series
Modified: packages/osc/trunk/debian/changelog
===================================================================
--- packages/osc/trunk/debian/changelog 2009-05-05 11:50:59 UTC (rev 2862)
+++ packages/osc/trunk/debian/changelog 2009-05-05 11:51:48 UTC (rev 2863)
@@ -1,9 +1,9 @@
-osc (0.117-2) UNRELEASED; urgency=low
+osc (0.117-2) unstable; urgency=low
- * NOT RELEASED YET
* Rediff existing patch.
+ * Fix syntax error with with Python 2.4.
- -- Michal ÄihaÅ <nijel at debian.org> Tue, 05 May 2009 13:50:42 +0200
+ -- Michal ÄihaÅ <nijel at debian.org> Tue, 05 May 2009 13:51:42 +0200
osc (0.117-1) unstable; urgency=low
Added: packages/osc/trunk/debian/patches/fix-syntax.patch
===================================================================
--- packages/osc/trunk/debian/patches/fix-syntax.patch (rev 0)
+++ packages/osc/trunk/debian/patches/fix-syntax.patch 2009-05-05 11:51:48 UTC (rev 2863)
@@ -0,0 +1,23 @@
+Fix syntax error with with Python 2.4
+--- a/osc/util/ar.py
++++ b/osc/util/ar.py
+@@ -29,7 +29,7 @@
+ def __str__(self):
+ return 'ar error: %s' % self.msg
+
+-class ArHdr():
++class ArHdr:
+ """Represents an ar header entry"""
+ def __init__(self, fn, date, uid, gid, mode, size, fmag, off):
+ self.file = fn.strip()
+--- a/osc/util/cpio.py
++++ b/osc/util/cpio.py
+@@ -27,7 +27,7 @@
+ self.file = fn
+ self.msg = msg
+
+-class CpioHdr():
++class CpioHdr:
+ """
+ Represents a cpio header ("New" portable format and CRC format).
+ """
Modified: packages/osc/trunk/debian/patches/series
===================================================================
--- packages/osc/trunk/debian/patches/series 2009-05-05 11:50:59 UTC (rev 2862)
+++ packages/osc/trunk/debian/patches/series 2009-05-05 11:51:48 UTC (rev 2863)
@@ -1 +1,2 @@
no-shebang.patch
+fix-syntax.patch
More information about the Python-apps-commits
mailing list