Skip to content

Commit

Permalink
Cleanup & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jfro committed May 18, 2015
1 parent 1ffdd01 commit 6248626
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<key>disabled</key>
<false/>
<key>name</key>
<string>iOS Simulator v1.3</string>
<string>iOS Simulator v1.3.1</string>
<key>objects</key>
<array>
<dict>
Expand Down
17 changes: 2 additions & 15 deletions siminfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,32 +134,19 @@ def get_sim6_items(data_paths, device_info, include_watch=True):

def getSimAppResults(cachePath, include_watch=True):
data_paths = get_sim6_data_paths()
#devices_info = get_device_infos()
device_info = DeviceInfo(cachePath)
#def get_items():
# #wf.logger.debug('Finding apps')
# return get_sim6_items(data_paths, device_info)
apps = get_sim6_items(data_paths, device_info, include_watch) #wf.cached_data('sim6_items', get_items, max_age=0)
apps = get_sim6_items(data_paths, device_info, include_watch)
device_info.updateCache()
return apps

def main(wf):
data_paths = get_sim6_data_paths()
#devices_info = get_device_infos()
device_info = DeviceInfo(wf.cachedir)
def get_items():
print "What"
#wf.logger.debug('Finding apps')
return get_sim6_items(data_paths, device_info)
apps = get_sim6_items(data_paths, device_info) #wf.cached_data('sim6_items', get_items, max_age=0)
apps = get_sim6_items(data_paths, device_info)
print "Done: "
print len(apps)
device_info.updateCache()
# Record our progress in the log file
#wf.logger.debug('{} Apps cached'.format(len(apps)))

if __name__ == '__main__':
#wf = Workflow()
#wf.run(main)
main(None)

0 comments on commit 6248626

Please sign in to comment.