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
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to