Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/d/p/dput-1.6/dput/uploader.py   dput(Download)
        force_passive_ftp_upload(profile)
 
    logger.info("Uploading %s using %s to %s (host: %s; directory: %s)" % (
        changes.get_package_name(),
        profile['method'],
 
        if args.check_only:
            logger.info("Package %s passes all checks" % (
                changes.get_package_name()
            ))
            return
 
        if args.no_upload_log:
            logger.info("Not writing upload log upon request")
        files = changes.get_files() + [changes.get_changes_file()]
        for path in files:
            logger.info("Uploading %s%s" % (
                os.path.basename(path),
                " (simulation)" if args.simulate else ""

src/d/p/dput-1.6/dput/uploaders/secure_sftp.py   dput(Download)
 
        if username:
            logger.info("Logging into host %s as %s" % (fqdn, username))
        else:
            logger.info("Logging into host %s" % fqdn)

src/d/p/dput-1.6/dput/command.py   dput(Download)
def upload_commands_file(filename, upload_filename, profile, args):
    with uploader(profile['method'], profile, simulate=args.simulate) as obj:
        logger.info("Uploading %s to %s" % (
            upload_filename,
            profile['name']
                              "Please set allow_dcut=1 to allow such uploads")
 
    logger.info("Uploading commands file to %s (incoming: %s)" % (
        fqdn or profile['name'],
        profile['incoming']

src/d/p/dput-1.6/dput/hooks/distribution.py   dput(Download)
    actual = changes.get("Distribution").strip()
    if intent != actual:
        logger.info("Upload is targeting %s but the changes will hit %s" % (
            intent, actual))
        err = "Upload is targeting `%s', but the changes will hit `%s'." % (

src/d/p/dput-1.6/dput/hooks/lintian.py   dput(Download)
                       "Please configure the lintian checker instead.")
        if not profile['run_lintian']:  # XXX: Broken. Fixme.
            logger.info("skipping lintian checking, enable with "
                        "run_lintian = 1 in your dput.cf")
            return

src/d/p/dput-1.6/dput/uploaders/sftp.py   dput(Download)
            ssh_kwargs['key_filename'] = pkey
 
        logger.info("Logging into host %s as %s" % (fqdn, user))
        self._sshclient = paramiko.SSHClient()
        if 'globalknownhostsfile' in o:

src/d/p/dput-1.6/dput/hooks/gpg.py   dput(Download)
    if "allow_unsigned_uploads" in profile:
        if profile['allow_unsigned_uploads']:
            logger.info("Not checking GPG signature due to "
                        "allow_unsigned_uploads being set.")
            return
            for k in allowed_keys:
                if k == key[-len(k):]:
                    logger.info("Key %s is trusted to upload to this host." % (
                        k
                    ))

src/d/p/dput-1.6/dput/hook.py   dput(Download)
            the hook's runtime.
    """
    logger.info("running %s: %s" % (name, hook['description']))
    return run_func_by_name('hooks', name, changes, profile)
 

src/d/p/dput-1.6/dput/changes.py   dput(Download)
            self.validate_signature(check_signature)
        else:
            logger.info("Not checking signature")
 
    def validate_signature(self, check_signature=True):

src/d/p/dput-1.6/dput/commands/dm.py   dput(Download)
 
        possible_fingerprints = possible_fingerprints[0]
        logger.info("Picking DM %s with fingerprint %s" %
                    possible_fingerprints)
        args.dm = possible_fingerprints[1]

  1 | 2  Next