diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2013-06-25 09:42:34 +0100 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2013-06-25 09:42:34 +0100 |
commit | 6042be1f37c4d6e94ad292ad25e748aa73d68d93 (patch) | |
tree | 0a026ca0c9ece6a2eb6bf73ebf2062db2ed765af | |
parent | e15e84e3cab086a8a2301c6c16e34e5a8e07c368 (diff) | |
download | morph-6042be1f37c4d6e94ad292ad25e748aa73d68d93.tar.gz |
Fix lines overflowing the 80 character limit
-rw-r--r-- | morphlib/git.py | 3 | ||||
-rw-r--r-- | morphlib/plugins/branch_and_merge_plugin.py | 12 |
2 files changed, 10 insertions, 5 deletions
diff --git a/morphlib/git.py b/morphlib/git.py index 3b9c4240..88c6dae3 100644 --- a/morphlib/git.py +++ b/morphlib/git.py @@ -214,7 +214,8 @@ def check_config_set(runcmd, keys, cwd='.'): found = {} for key in keys: try: - value = runcmd(['git', 'config', key], cwd=cwd, print_command=False).strip() + value = runcmd(['git', 'config', key], cwd=cwd, + print_command=False).strip() found[key] = value except cliapp.AppException: missing.append(key) diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py index bad2e9de..f7109bcf 100644 --- a/morphlib/plugins/branch_and_merge_plugin.py +++ b/morphlib/plugins/branch_and_merge_plugin.py @@ -180,18 +180,22 @@ class BranchAndMergePlugin(cliapp.Plugin): def set_branch_config(self, branch_dir, option, value): filename = os.path.join(branch_dir, '.morph-system-branch', 'config') - self.app.runcmd(['git', 'config', '-f', filename, option, value], print_command=False) + self.app.runcmd(['git', 'config', '-f', filename, option, value], + print_command=False) def get_branch_config(self, branch_dir, option): filename = os.path.join(branch_dir, '.morph-system-branch', 'config') - value = self.app.runcmd(['git', 'config', '-f', filename, option], print_command=False) + value = self.app.runcmd(['git', 'config', '-f', filename, option], + print_command=False) return value.strip() def set_repo_config(self, repo_dir, option, value): - self.app.runcmd(['git', 'config', option, value], cwd=repo_dir, print_command=False) + self.app.runcmd(['git', 'config', option, value], cwd=repo_dir, + print_command=False) def get_repo_config(self, repo_dir, option): - value = self.app.runcmd(['git', 'config', option], cwd=repo_dir, print_command=False) + value = self.app.runcmd(['git', 'config', option], cwd=repo_dir, + print_command=False) return value.strip() def get_head(self, repo_path): |