コード例 #1
0
 def smartshortcuts(self):
     '''called from skinshortcuts to retrieve listing of all smart shortcuts'''
     if sys.version_info.major == 3:
         from . import skinshortcuts
     else:
         import skinshortcuts
     skinshortcuts.get_smartshortcuts(self.params.get("path", ""))
コード例 #2
0
    def smartshortcuts(self):
        """called from skinshortcuts to retrieve listing of all smart shortcuts"""
        import skinshortcuts

        skinshortcuts.get_smartshortcuts(self.params.get("path", ""))
コード例 #3
0
 def smartshortcuts(self):
     '''called from skinshortcuts to retrieve listing of all smart shortcuts'''
     import skinshortcuts
     skinshortcuts.get_smartshortcuts(self.params.get("path", ""))