Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2/.git;a=commitdiff;h=cdf12b2886d7b3ff6ef85fc6c0fce6f33e26cffc

commit cdf12b2886d7b3ff6ef85fc6c0fce6f33e26cffc
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Mon Jul 23 21:47:55 2007 +0200

pactest: s/i686/os.uname()[-1]/

diff --git a/pactest/pmpkg.py b/pactest/pmpkg.py
index 102d123..012d3c2 100644
--- a/pactest/pmpkg.py
+++ b/pactest/pmpkg.py
@@ -32,7 +32,7 @@ class pmpkg:
Object holding data from a pacman-g2 package.
"""

-       def __init__(self, name, version = "1.0-1", arch = 'i686'):
+       def __init__(self, name, version = "1.0-1", arch = os.uname()[-1]):
# desc
self.name = name
self.version = version
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to