incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r979916 - in /incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher: main.py publishers.py
Date Tue, 27 Jul 2010 23:48:17 GMT
Author: kelly
Date: Tue Jul 27 23:48:17 2010
New Revision: 979916

URL: http://svn.apache.org/viewvc?rev=979916&view=rev
Log:
Ignore .svn dirs

Modified:
    incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/main.py
    incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/publishers.py

Modified: incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/main.py
URL: http://svn.apache.org/viewvc/incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/main.py?rev=979916&r1=979915&r2=979916&view=diff
==============================================================================
--- incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/main.py (original)
+++ incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/main.py Tue Jul 27 23:48:17
2010
@@ -61,6 +61,7 @@ def publishStandardImagery(target, base)
     if not os.path.isdir(targetImageDir):
         os.makedirs(targetImageDir)
     for fn in pkg_resources.resource_listdir(__name__, 'themes/images'):
+        if fn == '.svn': continue
         i = None
         try:
             i = pkg_resources.resource_stream(__name__, 'themes/images/%s' % fn)

Modified: incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/publishers.py
URL: http://svn.apache.org/viewvc/incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/publishers.py?rev=979916&r1=979915&r2=979916&view=diff
==============================================================================
--- incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/publishers.py (original)
+++ incubator/oodt/tools/oodtsite.publisher/trunk/oodtsite/publisher/publishers.py Tue Jul
27 23:48:17 2010
@@ -141,6 +141,7 @@ class JavaDocsPublisher(_Publisher):
     def generateArtifacts(self, contentDir, targetDir, baseURL):
         generatedArtifacts = []
         for fn in os.listdir(contentDir):
+            if fn in _revisionControl: continue
             path = os.path.join(contentDir, fn)
             if os.path.isdir(path):
                 dst = os.path.join(targetDir, fn)



Mime
View raw message