Permalink
Browse files

printing of permission added

  • Loading branch information...
Montellese committed Apr 22, 2011
1 parent 2fc983b commit 5140179389f1b937c0e21b853fbf7edf9e58604a
Showing with 7 additions and 3 deletions.
  1. +1 −1 .gitignore
  2. +6 −2 xbmc/JsdParser.py
View
@@ -1 +1 @@
-xbmc/__pycache__
+xbmc/__pycache__
View
@@ -64,10 +64,14 @@ def __parseMethod(method):
wiki = ""
if "description" in method and len(method["description"]) > 0:
- wiki += method["description"] + "\n"
+ wiki += method["description"]
wiki += WikiUtils.NewLine()
- wiki += WikiUtils.Bold("Parameters: ")
+ wiki += WikiUtils.Bold("Permission:") + " "
+ wiki += method["permission"]
+ wiki += WikiUtils.NewLine()
+
+ wiki += WikiUtils.Bold("Parameters:") + " "
if "params" not in method or len(method["params"]) <= 0:
wiki += "None\n"
wiki += WikiUtils.NewLine()

0 comments on commit 5140179

Please sign in to comment.