Esempio n. 1
0
 def get_scripts(account_email=None, ui=False):
   for tag in sorted(iter(SCRIPTS.keys())):
     if account_email in SCRIPTS[tag]['script'].get('private',
                                                    (account_email,)):
       if not ui or ('from' in SCRIPTS[tag]['script'] and
                     'to' in SCRIPTS[tag]['script']):
         yield Script(tag)
Esempio n. 2
0
 def get_scripts(account_email=None):
     for tag in SCRIPTS.keys():
         if account_email in SCRIPTS[tag]['script'].get(
                 'private', (account_email, )):
             yield Script(tag)