Login | Register
My pages Projects Community openCollabNet

Discussions > dev > typo in CVS?

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

typo in CVS?

Reply

Author Arthur Clune <ajc22 at york dot ac dot uk>
Full name Arthur Clune <ajc22 at york dot ac dot uk>
Date 2003-12-17 06:44:08 PST
Message Thinking it was about time I got with the plan and looked at the 1.5
series, I got the latest
out of CVS:

$ cvs -d :pserver:anoncvs@cvs​.tigris.org:/cvs checkout current

The make failed with the following error:

python -c "import py_compile; py_compile.compile('​postgres.py')"
  File "postgres.py", line 87
    (parentchannel_id, arch, osrelease = self.cursor.fetchone()
                                       ^
SyntaxError: invalid syntax


I assume that that line should be

    (parentchannel_id, arch, osrelease) = self.cursor.fetchone()

Diff if anyone is bothered:

--- src/db/postgres/postgres.py_o 2003-12-17 14:39:34.000000000 +0000
+++ src/db/postgres/postgres.py 2003-12-17 14:39:39.000000000 +0000
@@ -84,7 +84,7 @@
                                    from CHANNEL
                                    where label = %s''',
                                 (channel['parent'],))
- (parentchannel_id, arch, osrelease = self.cursor.fetchone()
+ (parentchannel_id, arch, osrelease) = self.cursor.fetchone()
         else:
             parentchannel_id = None
             arch = channel['arch']


--
Arthur Clune, Systems Security Advisor, The Computing Service
University of York, UK, YO10 5DD. +44 (0) 1904 433129
PGP signing key A0389A4B. Full key http://www.clune.org/pubkey.txt

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

typo in CVS? Arthur Clune <ajc22 at york dot ac dot uk> Arthur Clune <ajc22 at york dot ac dot uk> 2003-12-17 06:44:08 PST
Messages per page: