[Sugar-devel] sugar_bundle_version()?
Walter Bender
walter.bender at gmail.com
Sun Dec 14 10:44:44 EST 2008
I need to grab the version of my activity and I can do this by
accessing the environ variable 'SUGAR_BUNDLE_VERSION' but I wonder why
there isn't an equivalent to activity.get_bundle_name(). Really just a
style question.
---
print os.environ['SUGAR_BUNDLE_NAME']
print activity.get_bundle_name()
print os.environ['SUGAR_BUNDLE_VERSION']
print activity.get_bundle_version() < -- this method doesn't exist?
-walter
--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
More information about the Sugar-devel
mailing list