Revision: 717
http://python-ogre.svn.sourceforge.net/python-ogre/?rev=717&view=rev
Author: mithro
Date: 2008-09-02 07:35:55 +0000 (Tue, 02 Sep 2008)
Log Message:
-----------
Slight indent fixeds.
Fixed Error.
Modified Paths:
--------------
trunk/python-ogre/BuildModule.py
Modified: trunk/python-ogre/BuildModule.py
===================================================================
--- trunk/python-ogre/BuildModule.py 2008-09-01 14:19:39 UTC (rev 716)
+++ trunk/python-ogre/BuildModule.py 2008-09-02 07:35:55 UTC (rev 717)
@@ -184,11 +184,11 @@
# Rewrite any place holders
for file in os.listdir(debiandir):
- if not os.path.isfile(os.path.join(debiandir, file)):
- continue
- ret = spawnTask( "sed --in-place "+os.path.join(debiandir,file)+" -e\"s|%%SHORTDATE%%|`date +%Y%m%d`|\" -e\"s|%%LONGDATE%%|`date +'%a, %d %b %Y %H:%m:%S %z'`|\" -e\"s|%%VERSION%%|"+module.source_version+"|\"", srcdir)
- if ret != 0:
- exit("Was not able to update the debian change log.")
+ if not os.path.isfile(os.path.join(debiandir, file)):
+ continue
+ ret = spawnTask( "sed --in-place "+os.path.join(debiandir,file)+" -e\"s|%%SHORTDATE%%|`date +%Y%m%d`|\" -e\"s|%%LONGDATE%%|`date +'%a, %d %b %Y %H:%m:%S %z'`|\" -e\"s|%%VERSION%%|"+module.source_version+"|\"", srcdir)
+ if ret != 0:
+ exit("Was not able to update the debian %s." % file)
# Check that all the dependencies for this package are avaliable
c = StringIO()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|