diff options
| author | rod.smith <rod.smith@canonical.com> | 2014-07-16 09:47:39 -0400 |
|---|---|---|
| committer | rod.smith <rod.smith@canonical.com> | 2014-07-16 09:47:39 -0400 |
| commit | 3ce73e9cd0df844f4c87abdc14de231e5fa92b15 (patch) | |
| tree | 96d36314d6ab52a531c93305bae34da2c2e719ee /bin | |
| parent | 85f7605ed0f38ae46ee59fb8ffd48a270f68c508 (diff) | |
Fixed problems with initial commit
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/get_make_and_model | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/get_make_and_model b/bin/get_make_and_model index e618807..331198a 100755 --- a/bin/get_make_and_model +++ b/bin/get_make_and_model @@ -1,11 +1,10 @@ #!/usr/bin/env python3 import sys -import subprocess from subprocess import call -def main(args): +def main(): print ("Manufacturer: ", end="", flush=True) call(["dmidecode", "-s", "system-manufacturer"]) @@ -16,4 +15,4 @@ def main(args): return 0 if __name__ == "__main__": - sys.exit(main(sys.argv[1:])) + sys.exit(main()) |
