diff options
author | Melik Manukyan <melik@archlinux.us> | 2010-01-27 20:54:04 -0800 |
---|---|---|
committer | Melik Manukyan <melik@archlinux.us> | 2010-01-27 20:54:04 -0800 |
commit | 92c4c570b1aafef830b9c918470c510e9d90f417 (patch) | |
tree | f31aee78e1b0478cf0a7b008fd915384e0fcde32 /archey | |
parent | b413ab592534db63b28d5ad9aa4f77252120eeed (diff) |
converted remaining tabs to spaces
Diffstat (limited to 'archey')
-rw-r--r-- | archey | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |