[tuxdroid-svn] r5648 - software_suite_v3/software/gadget/webradio_variations/trunk
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-10-14 08:01:56
|
Author: remi
Date: 2009-10-14 10:01:39 +0200 (Wed, 14 Oct 2009)
New Revision: 5648
Modified:
software_suite_v3/software/gadget/webradio_variations/trunk/build.py
Log:
* Added condition to skip svn files from tokens replacement
Modified: software_suite_v3/software/gadget/webradio_variations/trunk/build.py
===================================================================
--- software_suite_v3/software/gadget/webradio_variations/trunk/build.py 2009-10-14 07:54:09 UTC (rev 5647)
+++ software_suite_v3/software/gadget/webradio_variations/trunk/build.py 2009-10-14 08:01:39 UTC (rev 5648)
@@ -77,6 +77,9 @@
# Replace tokens in files
for fileName in os.listdir(tmpGadgetPath):
filePath = os.path.join(tmpGadgetPath, fileName)
+ # Skip svn files
+ if filePath.find(".svn") != -1:
+ continue
# Read original content
f = open(filePath, "rb")
content = f.read()
|