[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Need assistance for echo-pull application
- From: Matthias Clasen <mclasen redhat com>
- To: Discussions about the artwork "included with Fedora, including icons, themes, and wallpapers." <fedora-art-list redhat com>
- Subject: Re: Need assistance for echo-pull application
- Date: Fri, 13 Apr 2007 23:20:00 +0200
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:
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]