~dpb/charms/precise/storage/trunk

« back to all changes in this revision

Viewing changes to hooks/common_util.py

  • Committer: Chad Smith
  • Date: 2014-03-21 22:53:22 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: chad.smith@canonical.com-20140321225322-g29uczfsfd0r3jw6
lint

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
                    log("WARNING: %s" % str(e), hookenv.WARNING)
113
113
                else:
114
114
                    process_name = lsof.split("\n")[1].split()[0]
115
 
                    message += " Device in use by (%s)" % process_name 
 
115
                    message += " Device in use by (%s)" % process_name
116
116
                log(message, hookenv.WARNING)
117
117
            sleep(5)
118
118