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()


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to