ooo-build r13199 - trunk/scratch/rcsutil



Author: michael
Date: Mon Jul 14 15:16:46 2008
New Revision: 13199
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13199&view=rev

Log:
fix Attic issue on auto-generated files ...


Modified:
   trunk/scratch/rcsutil/parse_rcs.py

Modified: trunk/scratch/rcsutil/parse_rcs.py
==============================================================================
--- trunk/scratch/rcsutil/parse_rcs.py	(original)
+++ trunk/scratch/rcsutil/parse_rcs.py	Mon Jul 14 15:16:46 2008
@@ -942,8 +942,9 @@
                 sys.stdout.write("Skipping a non-RCS file: %s\n"%filepath)
             return True
 
+        no_attic_path = re.subn ("/Attic/", "/", filepath)[0]
         for autogp in autogenFileRegex:
-            if re.search (autogp, filepath) != None:
+            if re.search (autogp, no_attic_path) != None:
                 if self.verbose:
                     sys.stdout.write("Skipping auto-generated file: %s\n"%filepath)
                 return True



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]