~longsleep/snapcraft/snapcraft-debs-plugin

« back to all changes in this revision

Viewing changes to snapcraft/plugins/copy.py

  • Committer: Snappy Tarmac
  • Author(s): Zygmunt Krynicki
  • Date: 2015-08-26 09:11:57 UTC
  • mfrom: (135.2.1 launchpad/fix-logging-calls)
  • Revision ID: snappy_tarmac-20150826091157-gvxmseyyx6pc2fqk
Correct all the logging calls to pass arguments directly by zyga approved by mvo

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        for src in sorted(self.options.files):
31
31
            dst = self.options.files[src]
32
32
            if not os.path.lexists(src):
33
 
                logger.warning("WARNING: file '%s' missing" % src)
 
33
                logger.warning("WARNING: file '%s' missing", src)
34
34
                res = False
35
35
                continue
36
36
            dst = os.path.join(self.installdir, dst)