- tweak user agent


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1710 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-04-12 10:55:30 +00:00
parent 6ea70ee627
commit 598efe6bcd
+2 -1
View File
@@ -6110,8 +6110,9 @@ class urlFetcher:
self.entropyTools = entropyTools
self.socket = socket
self.progress = None
self.user_agent = "Entropy/%s (compatible; %s; %s %s %s)" % (
self.user_agent = "Entropy/%s (compatible; %s; %s: %s %s %s)" % (
etpConst['entropyversion'],
"Entropy",
os.path.basename(self.url),
os.uname()[0],
os.uname()[4],