[kernel] r10751 - people/waldi/dkt/lib/dkt/support
Bastian Blank
waldi at alioth.debian.org
Sat Mar 8 22:03:14 UTC 2008
Author: waldi
Date: Sat Mar 8 22:03:13 2008
New Revision: 10751
Log:
lib/dkt/support/system.py: Add.
Added:
people/waldi/dkt/lib/dkt/support/system.py
Added: people/waldi/dkt/lib/dkt/support/system.py
==============================================================================
--- (empty file)
+++ people/waldi/dkt/lib/dkt/support/system.py Sat Mar 8 22:03:13 2008
@@ -0,0 +1,10 @@
+def _architecture():
+ import os
+ f = os.popen('dpkg --print-architecture')
+ ret = f.readline().strip()
+ if f.close():
+ raise RuntimeError
+ return ret
+
+architecture = _architecture()
+
More information about the Kernel-svn-changes
mailing list