From a23d0d8617ba3119069e610fc7b0850a17322726 Mon Sep 17 00:00:00 2001 From: Craig Northway Date: Fri, 25 Jul 2014 11:26:48 +1000 Subject: Autopep8 fixes with maximum line length 120 --- git/typ.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'git/typ.py') diff --git a/git/typ.py b/git/typ.py index f056de5c..68f99eef 100644 --- a/git/typ.py +++ b/git/typ.py @@ -4,7 +4,7 @@ # the New BSD License: http://www.opensource.org/licenses/bsd-license.php """Module containing information about types known to the database""" -#{ String types +#{ String types # For compatability only, use ObjectType instead str_blob_type = "blob" @@ -12,7 +12,9 @@ str_commit_type = "commit" str_tree_type = "tree" str_tag_type = "tag" + class ObjectType(object): + """Enumeration providing object types as strings and ids""" blob = str_blob_type commit = str_commit_type -- cgit v1.2.1