~longsleep/snapcraft/snapcraft-debs-plugin

« back to all changes in this revision

Viewing changes to snapcraft/plugins/ant_project.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:
36
36
            return False
37
37
        files = glob.glob(os.path.join(self.builddir, 'target', '*.jar'))
38
38
        if not files:
39
 
            logger.error('Could not find any built jar files for part %s' % self.name)
 
39
            logger.error('Could not find any built jar files for part %s', self.name)
40
40
            sys.exit(1)
41
41
        jardir = os.path.join(self.installdir, 'jar')
42
42
        return self.run(['mkdir', '-p', jardir]) and \