Advertisement
Guest User

Untitled

a guest
Dec 10th, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1.  
  2. load_frameworks()
  3. for category in BaseCategory.categories:
  4. cat = BaseCategory(category)
  5. print(category)
  6. print(cat.frameworks)
  7. for framework in cat.frameworks:
  8. if framework.is_installed:
  9. print(framework.name)
  10. #should list the installed ubuntu make apps
  11. #but it comes
  12. {'ide': <umake.frameworks.ide.IdeCategory object at 0x7f94e801a1d0>, 'rust': <umake.frameworks.rust.RustCategory object at 0x7f94ddfe80b8>, 'web': <umake.frameworks.web.WebCategory object at 0x7f94ddfe8ac8>, 'dart': <umake.frameworks.dart.DartCategory object at 0x7f94e8645358>, 'games': <umake.frameworks.games.GamesCategory object at 0x7f94e86457b8>, 'main': <umake.frameworks.MainCategory object at 0x7f94ea12f208>, 'android': <umake.frameworks.android.AndroidCategory object at 0x7f94ea12f630>, 'go': <umake.frameworks.go.GoCategory object at 0x7f94e8010b70>, 'scala': <umake.frameworks.scala.ScalaCategory object at 0x7f94ddfe85c0>}
  13.  
  14. WARNING: There is already a registered category with main as a name. Don't register the second one.
  15. WARNING: There is already a registered category with Android as a name. Don't register the second one.
  16. WARNING: There is already a registered category with Dart as a name. Don't register the second one.
  17. WARNING: There is already a registered category with Games as a name. Don't register the second one.
  18. WARNING: There is already a registered category with Go as a name. Don't register the second one.
  19. WARNING: There is already a registered category with IDE as a name. Don't register the second one.
  20. WARNING: There is already a registered category with Rust as a name. Don't register the second one.
  21. WARNING: There is already a registered category with Scala as a name. Don't register the second one.
  22. WARNING: There is already a registered category with Web as a name. Don't register the second one.
  23. WARNING: There is already a registered category with ide as a name. Don't register the second one.
  24. ide
  25. {}
  26. WARNING: There is already a registered category with rust as a name. Don't register the second one.
  27. rust
  28. {}
  29. WARNING: There is already a registered category with web as a name. Don't register the second one.
  30. web
  31. {}
  32. WARNING: There is already a registered category with dart as a name. Don't register the second one.
  33. dart
  34. {}
  35. WARNING: There is already a registered category with games as a name. Don't register the second one.
  36. games
  37. {}
  38. WARNING: There is already a registered category with main as a name. Don't register the second one.
  39. main
  40. {}
  41. WARNING: There is already a registered category with android as a name. Don't register the second one.
  42. android
  43. {}
  44. WARNING: There is already a registered category with go as a name. Don't register the second one.
  45. go
  46. {}
  47. WARNING: There is already a registered category with scala as a name. Don't register the second one.
  48. scala
  49. {}
  50.  
  51. #some of the {}should at least not be empty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement