Re: Need assistance for echo-pull application

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

 



On Fri, 2007-04-13 at 04:05 -0700, Luya Tshimbalanga wrote:
> I attempted to use echo-pull[1] for updating to the newest icons. It
> appears the icons are broken even thought the download is completed.
> 
> J5, could you fix the issues?
> 

Here is the patch that I needed to make echo_pull.py work with the
current wiki.

Matthias
--- echo_pull.py	2006-08-31 01:56:50.000000000 +0200
+++ echo_pull.py.my	2007-03-26 17:15:12.000000000 +0200
@@ -19,7 +19,7 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-base_url='http://fedoraproject.org/'
+base_url='http://fedoraproject.org'
 echo_dir='wiki/Artwork/EchoDevelopment'
 base_dir=u'Echo'
 
@@ -210,8 +210,7 @@
             return
 
     def filter_and_download (self, base_url, resource, file):
-        art_url = "%s%s"%(base_url, 
-                          resource)
+        art_url = "%s%s"%(base_url, resource)
  
         filter = self.filter(file)
         if filter:
@@ -342,7 +341,7 @@
         parser.parse(link_mapping_xml)
 
     #get the main page
-    url = '%s%s'%(base_url, echo_dir)
+    url = '%s/%s'%(base_url, echo_dir)
     try:
         data = urllib2.urlopen(url).read()
     except urllib2.HTTPError, e:
_______________________________________________
Fedora-art-list mailing list
Fedora-art-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-art-list

[Index of Archives]     [Fedora Music]     [Fedora Development]     [Linux Kernel]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux