You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
395 B

  1. # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. # MIT License. See license.txt
  3. from __future__ import unicode_literals
  4. import webnotes, json, os
  5. from webnotes import _
  6. @webnotes.whitelist()
  7. def get():
  8. setup = []
  9. for app in webnotes.get_installed_apps():
  10. try:
  11. setup += webnotes.get_attr(app + ".config.setup.data")
  12. except ImportError, e:
  13. pass
  14. return setup