[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Tue, 31 May 2011 22:12:47 +0200 (CEST)

changeset: 735:f0901df082df
tag: tip
user: Wojciech Gac <wgac_AT_wp.pl>
date: Tue May 31 22:08:54 2011 +0200
files: wmii.suckless.org/code_snippets/python/freebsd_battery_indicator.md
description:
Typographical change (indentation)


diff -r 729c1598018d -r f0901df082df wmii.suckless.org/code_snippets/python/freebsd_battery_indicator.md
--- a/wmii.suckless.org/code_snippets/python/freebsd_battery_indicator.md Thu May 26 21:31:46 2011 -0700
+++ b/wmii.suckless.org/code_snippets/python/freebsd_battery_indicator.md Tue May 31 22:08:54 2011 +0200
_AT_@ -13,7 +13,8 @@
      _AT_defmonitor
      def bsdbattery(self):
               a = commands.getoutput('acpiconf -i' + bat).splitlines()
- b = dict([[i for i in j.split('\t') if i is not ''] for j in a])
+ b = dict([[i for i in j.split('\t') if i is not ''] \
+ for j in a])
              return wmii.cache['normcolors'], 'Status: ' + b['State:'] +\
                  'Capacity: ' + b['Remaining capacity:'] + ' ' +\
                 'Time remaining: ' + b['Remaining time:']
\ No newline at end of file
Received on Tue May 31 2011 - 22:12:47 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:45 CEST