summaryrefslogtreecommitdiff
path: root/archey
diff options
context:
space:
mode:
authorMelik Manukyan <melik@archlinux.us>2010-01-27 20:54:04 -0800
committerMelik Manukyan <melik@archlinux.us>2010-01-27 20:54:04 -0800
commit92c4c570b1aafef830b9c918470c510e9d90f417 (patch)
treef31aee78e1b0478cf0a7b008fd915384e0fcde32 /archey
parentb413ab592534db63b28d5ad9aa4f77252120eeed (diff)
converted remaining tabs to spaces
Diffstat (limited to 'archey')
-rw-r--r--archey8
1 files changed, 4 insertions, 4 deletions
diff --git a/archey b/archey
index 97b43d8..55a3f76 100644
--- a/archey
+++ b/archey
@@ -107,10 +107,10 @@ def output(key, value):
# RAM Function
def ram_display():
- raminfo = Popen(['free', '-m'], stdout=PIPE).communicate()[0].split('\n')
- ram = ''.join(filter(re.compile('M').search, raminfo)).split()
- used = int(ram[2]) - int(ram[5]) - int(ram[6])
- output ('RAM', '%s MB / %s MB' % (used, ram[1]))
+ raminfo = Popen(['free', '-m'], stdout=PIPE).communicate()[0].split('\n')
+ ram = ''.join(filter(re.compile('M').search, raminfo)).split()
+ used = int(ram[2]) - int(ram[5]) - int(ram[6])
+ output ('RAM', '%s MB / %s MB' % (used, ram[1]))
# Screenshot Function
screen = '%s' % options.screenshot