Skip to content

Commit 787f1a5

Browse files
committed
Update osinfo.py with better interface
1 parent 95175a9 commit 787f1a5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

osinfo.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
platform.python_build(),
2323
platform.python_compiler(),
2424
platform.python_version(),
25+
platform.release(),
2526
platform.system(),
2627
platform.uname(),
2728
platform.version(),
2829
]
29-
30+
i=1
3031
for item in profile:
31-
print item
32+
print '#',i,' ',item
33+
i=i+1;

0 commit comments

Comments
 (0)