summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firehose/plugin/firehose_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/firehose/plugin/firehose_plugin.py b/firehose/plugin/firehose_plugin.py
index 25e2eb4..5406623 100644
--- a/firehose/plugin/firehose_plugin.py
+++ b/firehose/plugin/firehose_plugin.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2014 Codethink Limited
+# Copyright (C) 2014-2015 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -25,6 +25,7 @@ import morphlib
from debian.debian_support import Version
+
@contextmanager
def firehose_git(app):
try:
@@ -38,7 +39,6 @@ def firehose_git(app):
app.runcmd(["git", "config", "--global", "user.email", email])
-
class FirehosePlugin(cliapp.Plugin):
def enable(self):
self.app.add_subcommand('firehose', self.firehose_cmd,