Пример #1
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.style = no_style()
     # Keep a count of the installed objects and ontologies
     self.count = [0, 0]
     self.models = set()
     self.verbosity, self.show_traceback, self.fail_gracefully = 1, False, False
Пример #2
0
    def __init__(self, *args, **kwargs):

        self.verbosity = 0
        self.stats = {}
        self._ignore = []

        BaseCommand.__init__(self, *args, **kwargs)
Пример #3
0
    def __init__(self, *args, **kwargs):
        """
        Creation of the ejabberd atuh bridge service.

        :Parameters:
           - `args`: all non-keyword arguments
           - `kwargs`: all keyword arguments
        """
        BaseCommand.__init__(self, *args, **kwargs)
        #        try:
        #            log_level = int(settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG_LEVEL)
        #        except:
        log_level = logging.INFO
        # If we can write to the log do so, else fail back to the console
        #if os.access(settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG, os.W_OK):
        #    logging.basicConfig(
        #        level=log_level,
        #        format='%(asctime)s %(levelname)s %(message)s',
        #        filename=settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG,
        #        filemode='a')
        #else:
        logging.basicConfig(level=log_level,
                            format='%(asctime)s %(levelname)s %(message)s',
                            stream=sys.stderr)
        #logging.warn(('Could not write to ' +
        #        settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG +
        #        '. Falling back to stderr ...'))
        logging.info(('ejabberd_auth_bridge process started' +
                      ' (more than one is common)'))
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option("--days",
                        "-d",
                        help="Days of week (monday, tuesday, etc)"),
            make_option(
                "--occurrences",
                "-o",
                type="int",
                default=1,
                help="Occurrences: How many weeks ahead to exclude this day",
            ),
            make_option(
                "--queues",
                "-q",
                help="Queues to include (default: all). Use queue slugs",
            ),
            make_option(
                "--escalate-verbosely",
                "-x",
                action="store_true",
                default=False,
                help="Display a list of dates excluded",
            ),
        )
Пример #5
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.skipped_users = []
     self.skipped_products = []
     self.skipped_logos = []
     self.skipped_pics = []
     signal.signal(signal.SIGINT, self.handle_interrupt)
Пример #6
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (make_option(
            '--queues',
            '-q',
            help='Queues to include (default: all). Use queue slugs'), )
Пример #7
0
 def __init__(self, *args, **kwargs):
     """
         Creation of the ejabberd atuh bridge service.
         :Parameters:
             - `args`: all non-keyword arguments
             - `kwargs`: all keyword arguments
     """
     BaseCommand.__init__(self, *args, **kwargs)
     try:
         log_level = int(logging.DEBUG)
     except:
         log_level = logging.INFO
     if os.access("/var/log/ejabberd/kauth.log", os.W_OK):
         logging.basicConfig(
                             level=log_level,
                             format='%(asctime)s %(levelname)s %(message)s',
                             filename="/var/log/ejabberd/kauth.log",
                             filemode='a')
     else:
         logging.basicConfig(
                             level=log_level,
                             format='%(asctime)s %(levelname)s %(message)s',
                             stream=sys.stderr)
         logging.warn(('Could not write to ' +
                       '/var/log/ejabberd/kauth.log' +
                       '. Falling back to stderr ...'))
     logging.info(('ejabberd kauth process started' +' (more than one is common)'))
Пример #8
0
 def __init__(self, *args, **kwargs):
     """
         Creation of the ejabberd atuh bridge service.
         :Parameters:
             - `args`: all non-keyword arguments
             - `kwargs`: all keyword arguments
     """
     BaseCommand.__init__(self, *args, **kwargs)
     try:
         log_level = int(logging.DEBUG)
     except:
         log_level = logging.INFO
     if os.access("/var/log/ejabberd/kauth.log", os.W_OK):
         logging.basicConfig(level=log_level,
                             format='%(asctime)s %(levelname)s %(message)s',
                             filename="/var/log/ejabberd/kauth.log",
                             filemode='a')
     else:
         logging.basicConfig(level=log_level,
                             format='%(asctime)s %(levelname)s %(message)s',
                             stream=sys.stderr)
         logging.warn(
             ('Could not write to ' + '/var/log/ejabberd/kauth.log' +
              '. Falling back to stderr ...'))
     logging.info(
         ('ejabberd kauth process started' + ' (more than one is common)'))
Пример #9
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option("--queues", "-q", help="Queues to include (default: all). Use queue slugs"),
            make_option("--verbose", "-v", action="store_true", default=False, help="Display a list of dates excluded"),
        )
Пример #10
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.option_list += (make_option('--quiet',
                                      '-q',
                                      default=False,
                                      action='store_true',
                                      help='Hide all command output'), )
    def __init__(self, *args, **kwargs):
        class NiceContext(Context):
            """
            Same as the real context class, but override some methods in order to gain
            nice colored output.
            """
            def __init__(s, *args, **kwargs):
                kwargs['insert_debug_symbols'] = self.insert_debug_symbols
                Context.__init__(s, *args, **kwargs)

            def compile_media_callback(s, compress_tag, media_files):
                """
                When the compiler notifies us that compiling of this file begins.
                """
                if compress_tag:
                    print self.colored('Compiling media files from', 'yellow'),
                    print self.colored(' "%s" ' % compress_tag.path, 'green'),
                    print self.colored(' (line %s, column %s)" ' % (compress_tag.line, compress_tag.column), 'yellow')
                else:
                    print self.colored('Compiling media files', 'yellow')

                for m in media_files:
                    print self.colored('   * %s' % m, 'green')

            def compile_media_progress_callback(s, compress_tag, media_file, current, total, file_size):
                """
                Print progress of compiling media files.
                """
                print self.colored('       (%s / %s):' % (current, total), 'yellow'),
                print self.colored(' %s (%s bytes)' % (media_file, file_size), 'green')
        self.NiceContext = NiceContext

        BaseCommand.__init__(self, *args, **kwargs)
Пример #12
0
    def __init__(self, *args, **kwargs):
        """
        Creation of the ejabberd atuh bridge service.

        :Parameters:
           - `args`: all non-keyword arguments
           - `kwargs`: all keyword arguments
        """
        BaseCommand.__init__(self, *args, **kwargs)
        try:
            log_level = int(settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG_LEVEL)
        except:
            log_level = logging.INFO
        # If we can write to the log do so, else fail back to the console
        if os.access(settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG, os.W_OK):
            logging.basicConfig(
                level=log_level,
                format='%(asctime)s %(levelname)s %(message)s',
                filename=settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG,
                filemode='a')
        else:
            logging.basicConfig(
                level=log_level,
                format='%(asctime)s %(levelname)s %(message)s',
                stream=sys.stderr)
            logging.warn(('Could not write to ' +
                settings.TUNNEL_EJABBERD_AUTH_GATEWAY_LOG +
                '. Falling back to stderr ...'))
        logging.info(('ejabberd_auth_bridge process started' +
            ' (more than one is common)'))
Пример #13
0
    def __init__(self, *args, **kwargs):

        self.verbosity = 0
        self.stats = {}
        self._ignore = []

        BaseCommand.__init__(self, *args, **kwargs)
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option(
                '--queues', '-q',
                help='Queues to include (default: all). Use queue slugs'),
            )
Пример #15
0
    def __init__(self, *args, **kwargs):

        self.verbosity = 0

        self.file_consumer = None
        self.mail_fetcher = None

        BaseCommand.__init__(self, *args, **kwargs)
Пример #16
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.found = 0
     self.no_match = 0
     from_coord = SpatialReference(900913)
     to_coord = SpatialReference(4326)
     self.trans = CoordTransform(from_coord, to_coord)
     self.rtrans = CoordTransform(to_coord, from_coord)
Пример #17
0
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
     self.target = None
     self.files_in_export_dir = []
     self.exported_files = []
     self.compare_checksums = False
     self.use_filename_format = False
     self.delete = False
Пример #18
0
    def __init__(self, *args, **kwargs):

        self.verbosity = 0

        self.file_consumer = None
        self.mail_fetcher = None

        BaseCommand.__init__(self, *args, **kwargs)
Пример #19
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (make_option(
            '--quiet',
            '-q',
            default=False,
            action='store_true',
            help='Hide details about each message as they are processed.'), )
Пример #20
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.option_list += (
         make_option(
             '--quiet', '-q',
             default=False,
             action='store_true',
             help='Hide all command output'),
         )
Пример #21
0
    def __init__(self, *args, **kwargs):

        self.logger = logging.getLogger(__name__)

        BaseCommand.__init__(self, *args, **kwargs)

        self.username = settings.MAIL_POLLING["username"]
        self.password = settings.MAIL_POLLING["password"]
        self.host = settings.MAIL_POLLING["host"]
Пример #22
0
 def __init__(self, *largs, **kwargs):
     BaseCommand.__init__(self, *largs, **kwargs)
     from django.conf import settings
     self.cascade = False
     if settings.DATABASE_ENGINE:
         self.cascade = settings.DATABASE_ENGINE.find('postgresql') >= 0
     elif settings.DATABASES:
         db_settings = settings.DATABASES.get('default')
         self.cascade = db_settings.get('ENGINE').find('postgresql') >= 0
Пример #23
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option(
                '--quiet', '-q',
                default=False,
                action='store_true',
                help='Hide details about each queue/message as they are processed'),
            )
Пример #24
0
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
     self.local_enabled = False
     # Change this to True to log requests for debug *logs may include passwords*
     self.LOGGING_ENABLED = False
     if get_config("JABBER_LOCAL_ENABLED",None).value == "1":
         self.local_enabled = True
         self.local_user = get_config("JABBER_FROM_JID", False).value.split('@')[0]
         self.local_pass = get_config("JABBER_FROM_PASSWORD", False).value
         self.space_char = get_config("JABBER_LOCAL_SPACE_CHAR", False).value
Пример #25
0
    def __init__(self, *args, **kwargs):

        self.verbosity = 0
        self.logger = logging.getLogger(__name__)

        self.file_consumer = None
        self.mail_fetcher = None
        self.first_iteration = True

        BaseCommand.__init__(self, *args, **kwargs)
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
     self.local_enabled = False
     # Change this to True to log requests for debug *logs may include passwords*
     self.LOGGING_ENABLED = False
     if get_config("JABBER_LOCAL_ENABLED",None).value == "1":
         self.local_enabled = True
         self.local_user = get_config("JABBER_FROM_JID", False).value.split('@')[0]
         self.local_pass = get_config("JABBER_FROM_PASSWORD", False).value
         self.space_char = get_config("JABBER_LOCAL_SPACE_CHAR", False).value
 def __init__(self):
     """
     Host base command for all management host commands
     """
     BaseCommand.__init__(self)
     # Automatically save a DiscoveryResult record for each successful
     # discovery result
     self.save_results = True
     # Verbosity level for printing results
     self.verbosity = 0
Пример #28
0
    def __init__(self):
        BaseCommand.__init__(self)
        self.address = '127.0.0.1'
        #TODO: add some function for server/crawler address creation;
        # now it can be bugged with large numbers of servers/crawlers
        self.server_port = max([int(server.address.split(':')[2]) for server in TaskServer.objects.all()] + [INIT_SERVER_PORT]) + 1
        self.crawler_port = max([int(crawler.address.split(':')[2]) for crawler in Crawler.objects.all()] + [INIT_CRAWLER_PORT]) + 1

        self.last_scaling = time.time()
        self.old_crawlers = [crawler.address for crawler in Crawler.objects.all()]
        self.changed = False
Пример #29
0
 def __init__(self):
     """
     Discovery base command for all management discovery commands
     Use scanner_tool string to choose the desider scanner to use
     """
     BaseCommand.__init__(self)
     # Automatically save a DiscoveryResult record for each successful
     # discovery result
     self.save_results = True
     # Verbosity level for printing results
     self.verbosity = 0
Пример #30
0
    def __init__(self, *args, **kwargs):
        BaseCommand.__init__(self, *args, **kwargs)

        # TODO: use Django settings to configure the logger
        # https://docs.djangoproject.com/en/3.1/topics/logging/
        logger = logging.getLogger()
        logger.setLevel(logging.INFO)
        handler = logging.StreamHandler()
        formatter = logging.Formatter("{levelname:8} {message}", style="{")
        handler.setFormatter(formatter)
        logger.addHandler(handler)
Пример #31
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.logger = getLogger("Review Progress")
     self.logger.setLevel(logging.DEBUG)
     stream_handler = StreamHandler()
     file_handler = FileHandler('crawl_progress.log', 'a')
     handler_format = Formatter('%(asctime)s - %(message)s')
     stream_handler.setFormatter(handler_format)
     file_handler.setFormatter(handler_format)
     self.logger.addHandler(stream_handler)
     self.logger.addHandler(file_handler)
     stream_handler.setLevel(logging.DEBUG)
Пример #32
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list = (
            make_option(
                '--queues',
                help='Queues to include (default: all). Use queue slugs'),
            make_option('--verboseescalation',
                        action='store_true',
                        default=False,
                        help='Display a list of dates excluded'),
        )
Пример #33
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option(
                "--quiet",
                "-q",
                default=False,
                action="store_true",
                help="Hide details about each message as they are processed.",
            ),
        )
Пример #34
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option(
                '--queues',
                help='Queues to include (default: all). Use queue slugs'),
            make_option(
                '--verboseescalation',
                action='store_true',
                default=False,
                help='Display a list of dates excluded'),
            )
Пример #35
0
    def __init__(self):
        BaseCommand.__init__(self)
        self.address = '127.0.0.1'  # TODO - ENVIRONMENT DEPENDANT: change management address
        signal.signal(signal.SIGINT, sigint_signal_handler)
        #TODO - FUTURE WORKS: add some function for server/crawler address creation;
        # now it can be bugged with large numbers of servers/crawlers
        self.server_port = max([int(server.address.split(':')[2]) for server in TaskServer.objects.all()]
                               + [INIT_SERVER_PORT]) + 1
        self.crawler_port = max([int(crawler.address.split(':')[2]) for crawler in Crawler.objects.all()]
                                + [INIT_CRAWLER_PORT]) + 1

        self.last_scaling = time.time()
        self.old_crawlers = [crawler.address for crawler in Crawler.objects.all()]
        self.changed = False
Пример #36
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option(
                "--queues",
                help="Queues to include (default: all). Use queue slugs"),
            make_option(
                "--verboseescalation",
                action="store_true",
                default=False,
                help="Display a list of dates excluded",
            ),
        )
Пример #37
0
    def __init__(self):

        BaseCommand.__init__(self)
        self.tracking = []
        self.streams = {}
        self.first_pass_completed = False
        self.verbosity = 1

        self._wait_for_db()

        self.socialapp = SocialApp.objects.get(pk=1)

        os.makedirs(os.path.join(Archive.ARCHIVES_DIR, "raw"), exist_ok=True)
        os.makedirs(os.path.join(Archive.ARCHIVES_DIR, "map"), exist_ok=True)
Пример #38
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.option_list += (make_option('--quiet',
                                      '-q',
                                      default=False,
                                      action='store_true',
                                      help='Hide all command output.'), )
     self.option_list += (make_option(
         '--prod-indexes',
         '-p',
         default=False,
         action='store_true',
         help=
         'Delete all production databases indexes in CouchDB. e.g. "dmscouch" and "mdtcouch" databases.'
     ), )
Пример #39
0
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
     self.actions = {
         "help": "show help information",
         ReviewMethod.name: [
             ReviewMethod,
         ],
         PracticeMethod.name: [
             PracticeMethod,
         ],
         HardMethod.name: [
             HardMethod,
         ],
         "dictation": [HardMethod, ReviewMethod],
     }
Пример #40
0
 def __init__(self):
     BaseCommand.__init__(self)
     self.option_list += (
         make_option(
             '--quiet', '-q',
             default=False,
             action='store_true',
             help='Hide all command output.'),
     )
     self.option_list += (
         make_option(
             '--prod-indexes', '-p',
             default=False,
             action='store_true',
             help='Delete all production databases indexes in CouchDB. e.g. "dmscouch" and "mdtcouch" databases.'),
     )
    def __init__(self, *args, **kwargs):
        class NiceContext(Context):
            """
            Same as the real context class, but override some methods in order to gain
            nice colored output.
            """
            def __init__(s, *args, **kwargs):
                kwargs['insert_debug_symbols'] = self.insert_debug_symbols

                Context.__init__(s, *args, **kwargs)

            def compile_media_callback(s, compress_tag, media_files):
                """
                When the compiler notifies us that compiling of this file begins.
                """
                if compress_tag:
                    print self.colored('Compiling media files from', 'yellow'),
                    print self.colored(' "%s" ' % compress_tag.path, 'green'),
                    print self.colored(' (line %s, column %s)" ' % (compress_tag.line, compress_tag.column), 'yellow')
                else:
                    print self.colored('Compiling media files', 'yellow')

                for m in media_files:
                    print self.colored('   * %s' % m, 'green')

            @contextmanager
            def time_operation(self, name):
                if self.verbosity >= 3:
                    begin = time.clock()
                    yield
                    end = time.clock()
                    print termcolor.colored(name, "blue"), (termcolor.colored("%.2fs" % (end - begin), "yellow"))
                else:
                    yield

            def compile_media_progress_callback(s, compress_tag, media_file, current, total, file_size):
                """
                Print progress of compiling media files.
                """
                print self.colored('       (%s / %s):' % (current, total), 'yellow'),
                print self.colored(' %s (%s bytes)' % (media_file, file_size), 'green')
        self.NiceContext = NiceContext

        BaseCommand.__init__(self, *args, **kwargs)
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option(
                '--days', '-d',
                help='Days of week (monday, tuesday, etc)'),
            make_option(
                '--occurrences', '-o',
                type='int',
                default=1,
                help='Occurrences: How many weeks ahead to exclude this day'),
            make_option(
                '--queues', '-q',
                help='Queues to include (default: all). Use queue slugs'),
            make_option(
                '--escalate-verbosely', '-x',
                action='store_true',
                default=False,
                help='Display a list of dates excluded'),
            )
Пример #43
0
    def __init__(self, *args, **kwargs):
        class NiceContext(Context):
            """
            Same as the real context class, but override some methods in order to gain
            nice colored output.
            """
            def __init__(s, *args, **kwargs):
                kwargs['insert_debug_symbols'] = self.insert_debug_symbols
                Context.__init__(s, *args, **kwargs)

            def compile_media_callback(s, compress_tag, media_files):
                """
                When the compiler notifies us that compiling of this file begins.
                """
                if compress_tag:
                    print self.colored('Compiling media files from', 'yellow'),
                    print self.colored(' "%s" ' % compress_tag.path, 'green'),
                    print self.colored(
                        ' (line %s, column %s)" ' %
                        (compress_tag.line, compress_tag.column), 'yellow')
                else:
                    print self.colored('Compiling media files', 'yellow')

                for m in media_files:
                    print self.colored('   * %s' % m, 'green')

            def compile_media_progress_callback(s, compress_tag, media_file,
                                                current, total, file_size):
                """
                Print progress of compiling media files.
                """
                print self.colored('       (%s / %s):' % (current, total),
                                   'yellow'),
                print self.colored(' %s (%s bytes)' % (media_file, file_size),
                                   'green')

        self.NiceContext = NiceContext

        BaseCommand.__init__(self, *args, **kwargs)
Пример #44
0
    def __init__(self):
        BaseCommand.__init__(self)

        self.option_list += (
            make_option(
                '--days', '-d',
                help='Days of week (monday, tuesday, etc)'),
            make_option(
                '--occurrences', '-o',
                type='int',
                default=1,
                help='Occurrences: How many weeks ahead to exclude this day'),
            make_option(
                '--queues', '-q',
                help='Queues to include (default: all). Use queue slugs'),
            make_option(
                '--escalate-verbosely', '-x',
                action='store_true',
                default=False,
                dest='escalate-verbosely',
                help='Display a list of dates excluded'),
        )
Пример #45
0
	def __init__(self, *args, **kwargs):
		BaseCommand.__init__(self, *args, **kwargs)
		
		# Create cleaners
		self.readMoreCleaner = HTMLCleaner()
		self.contentCleaner = HTMLCleaner()
		
		for tag in ALLOWED_HTML_TAGS:
			attributes = []
			if tag in TAG_ATTRIBUTES:
				attributes = TAG_ATTRIBUTES[tag]
			self.readMoreCleaner.addAllowedTag(tag, attributes)

		for tag in ALLOWED_HTML_TAGS_STRICT:
			attributes = []
			if tag in TAG_ATTRIBUTES:
				attributes = TAG_ATTRIBUTES[tag]
			self.contentCleaner.addAllowedTag(tag, attributes)

		for key, value in TRANSFORM_TAGS.items():
			self.contentCleaner.addTransformationRule(key, value)
			self.readMoreCleaner.addTransformationRule(key, value)
Пример #46
0
 def __init__(self, *args, **kwargs):
     self.verbosity = 0
     BaseCommand.__init__(self, *args, **kwargs)
Пример #47
0
 def __init__(self):
     BaseCommand.__init__(self)
Пример #48
0
 def __init__(self):
     BaseCommand.__init__(self)
	def __init__(self, **kwargs):
		BaseCommand.__init__(self, **kwargs)
		self.locations = dict()
Пример #50
0
 def __init__(self, session=None):
     self._session = session
     self.verbosity = DEFAULT_VERBOSITY
     BaseCommand.__init__(self)
Пример #51
0
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
Пример #52
0
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
     self.target = None
Пример #53
0
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
     self.target = None
Пример #54
0
    def __init__(self, *args, **kwargs):

        self.logger = logging.getLogger(__name__)

        BaseCommand.__init__(self, *args, **kwargs)
        self.observer = None
Пример #55
0
 def __init__(self, *args, **kw):
     BaseCommand.__init__(self, *args, **kw)
     ESData.__init__(self)
 def __init__(self, *args, **kwargs):
     self._cache_dir = DCLICK_CACHE_DIR
     self._max_token_age = DCLICK_MAX_TOKEN_AGE
     BaseCommand.__init__(self, *args, **kwargs)
Пример #57
0
 def __init__(self, *args, **options):
     BaseCommand.__init__(self, *args, **options)
Пример #58
0
 def __init__(self, *args, **kw):
     BaseCommand.__init__(self, *args, **kw)
     ESData.__init__(self)
Пример #59
0
 def __init__(self, *args, **kwargs):
     BaseCommand.__init__(self, *args, **kwargs)
     self.source = None
     self.manifest = None
Пример #60
0
 def __init__(self, *args, **kwargs):
     self.verbosity = 0
     self.target = None
     self.gpg = gnupg.GPG(gnupghome=settings.GNUPG_HOME)
     BaseCommand.__init__(self, *args, **kwargs)