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

All Samples(10)  |  Call(7)  |  Derive(0)  |  Import(3)

src/d/p/dput-1.6/dput/changes.py   dput(Download)
from dput.core import logger
from dput.util import run_command
from dput.exceptions import ChangesFileException
 
 
 
        if len(self._data) == 0:
            raise ChangesFileException('Changes file could not be parsed.')
        if filename:
            self.basename = os.path.basename(filename)
        if exit_status == -1:
            raise ChangesFileException(
                "Unknown problem while verifying signature")
 
        # contains verbose human readable GPG information
            pass
        elif gpg_output.count('[GNUPG:] BADSIG'):
            raise ChangesFileException("Bad signature")
        elif gpg_output.count('[GNUPG:] ERRSIG'):
            raise ChangesFileException("Error verifying signature")

src/d/p/dput-1.6/dput/hooks/gpg.py   dput(Download)
 
from dput.core import logger
from dput.exceptions import (ChangesFileException, HookException)
 
 

src/d/p/dput-1.6/dput/hooks/checksum.py   dput(Download)
 
from dput.core import logger
from dput.exceptions import (ChangesFileException, HookException)