Changeset 3093
- Timestamp:
- Jul 15, 2016, 11:31:27 PM (9 years ago)
- File:
-
- 1 edited
-
scripts/xml-stats/stats.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scripts/xml-stats/stats.py
r3007 r3093 145 145 146 146 def main(): 147 #a = sys.args 148 #versions = get_versions() 149 #if not len(a) == 1 or a[0] not in versions: 150 # print('Give single argument, one of: {} '.format(versions)) 151 # print('Will use {}'.format(versions[0])) 152 stats = get_stats('gnome-3-20') 147 a = sys.argv 148 versions = get_versions() 149 print(versions) 150 if not len(a) == 2 or a[1] not in versions: 151 print('Give single argument, one of: {} '.format(versions)) 152 print('Will use {}'.format(versions[0])) 153 version = versions[0] 154 else: 155 version = a[1] 156 stats = get_stats(version) 153 157 print('ВСИЧКИ МОДУЛИ') 154 158 sms = stats_max_lengths_sums(stats)
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/project/gtp/chrome/site/your_project_logo.png)