[csw-devel] SF.net SVN: gar:[13076] csw/mgar/gar/v2-uwatch2/bin/uwatch
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Sun Jan 23 21:42:43 CET 2011
Revision: 13076
http://gar.svn.sourceforge.net/gar/?rev=13076&view=rev
Author: wbonnet
Date: 2011-01-23 20:42:43 +0000 (Sun, 23 Jan 2011)
Log Message:
-----------
Fix interpreter
Modified Paths:
--------------
csw/mgar/gar/v2-uwatch2/bin/uwatch
Modified: csw/mgar/gar/v2-uwatch2/bin/uwatch
===================================================================
--- csw/mgar/gar/v2-uwatch2/bin/uwatch 2011-01-23 18:32:57 UTC (rev 13075)
+++ csw/mgar/gar/v2-uwatch2/bin/uwatch 2011-01-23 20:42:43 UTC (rev 13076)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/opt/csw/bin/python
# TODO : check arguments for valid date
# TODO : check arguments for emtpy strings
@@ -1229,11 +1229,6 @@
if self.config.getVerbose() == True:
print "Package %(pkg)s has been undeleted" % { 'pkg' : self.config.getCatalogName() }
- # Test if the package has just been created. If yes the history line for gar version has to be inserted
- if isNewlyCreatedPackage:
- cursor.execute("insert into UWATCH_VERSION_HISTORY ( ID_PKG , HIST_VERSION_TYPE , HIST_VERSION_VALUE , HIST_VERSION_DATE ) \
- values ( %s, %s, %s, %s)" , ( pkg["ID_PKG"], "gar", self.config.getGarVersion() , self.config.getExecutionDate() ) )
-
# Test if current version is passed
if self.config.getCurrentVersion():
# In all cases (update or not) we update the last version check according to the argument
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list