equal
deleted
inserted
replaced
25 def getReposPath(): return _getPath("repos") |
25 def getReposPath(): return _getPath("repos") |
26 def getAuthorizedKeysPath(): return _getPath("authorized_keys") |
26 def getAuthorizedKeysPath(): return _getPath("authorized_keys") |
27 |
27 |
28 def configExists(): |
28 def configExists(): |
29 try: |
29 try: |
30 _getAuthorizedKeysPath() |
30 getAuthorizedKeysPath() |
31 return True |
31 return True |
32 except: |
32 except Exception, e: |
|
33 print e |
33 return False |
34 return False |
34 |
35 |
35 def getKeysPaths(): return _getPaths("keys") |
36 def getKeysPaths(): return _getPaths("keys") |
36 def getAccessPaths(): return _getPaths("access") |
37 def getAccessPaths(): return _getPaths("access") |
37 |
38 |