diff options
author | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2010-11-18 21:25:02 +0000 |
---|---|---|
committer | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2010-11-18 21:25:02 +0000 |
commit | a60f8bed7e85693774951cb4877d793539b6c363 (patch) | |
tree | c41f5141482af9e27f4a4df7eb8f76bbefd062e6 | |
parent | b05053f73048a8db3383239d882f6efdae50915e (diff) |
Added main function and conditional execution
-rw-r--r-- | archey.new | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -320,11 +320,15 @@ class User(BaseDisplay): ## TEST ## <<< TEMPORARY -out = Output() -out.append(Shell()) -out.append(User()) -out.append(Terminal()) -out.append(Uptime()) -out.append(WindowManager()) -#out.append(DesktopEnvirornment()) -out.output() +def main(): + out = Output() + out.append(Shell()) + out.append(User()) + out.append(Terminal()) + out.append(Uptime()) + out.append(WindowManager()) + #out.append(DesktopEnvirornment()) + out.output() + +if __name__ == '__main__': + main() |