Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/applications/globaleaks/controllers/admin.py   GlobaLeaks-0.1(Download)
from shutil import copyfile
import hashlib
from config import projroot, cfgfile, copyform
 
session.admin = True

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/applications/globaleaks/modules/anonymity.py   GlobaLeaks-0.1(Download)
from pytorctl import TorCtl
 
from config import projroot
 
torrc = os.path.join(projroot, 'globaleaks', 'tor', 'torrc')

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/applications/globaleaks/cron/mail_spool.py   GlobaLeaks-0.1(Download)
from gluon.tools import Mail
 
from config import projroot
 
MimeMail = local_import('mailer').MultiPart_Mail(settings)

src/g/l/GlobaLeaks-0.1-HEAD/globaleaks/applications/globaleaks/cron/cleaner.py   GlobaLeaks-0.1(Download)
from gluon.utils import md5_hash
from gluon.restricted import RestrictedError
from config import projroot
 
# recursively clean the directories