~1chb1n/charms/trusty/keystone/next-revert166

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/fetch/giturl.py

  • Committer: Corey Bryant
  • Date: 2015-07-17 01:49:25 UTC
  • mfrom: (162.1.2 keystone)
  • Revision ID: corey.bryant@canonical.com-20150717014925-l5tsb8yrd4mypqcg
[corey.bryant,trivial] Synch charm-helpers and fix lint error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
        try:
68
68
            self.clone(source, dest_dir, branch, depth)
69
69
        except GitCommandError as e:
70
 
            raise UnhandledSource(e.message)
 
70
            raise UnhandledSource(e)
71
71
        except OSError as e:
72
72
            raise UnhandledSource(e.strerror)
73
73
        return dest_dir