Skip to content

Commit 9d06cab

Browse files
committed
Remove unneeded imports
Signed-off-by: Peter Grayson <[email protected]>
1 parent e311701 commit 9d06cab

File tree

5 files changed

+1
-6
lines changed

5 files changed

+1
-6
lines changed

stgit/commands/common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"""Function/variables common to all the commands"""
33
from __future__ import (absolute_import, division, print_function,
44
unicode_literals)
5-
import codecs
65
import email.utils
76
import os
87
import re
@@ -19,7 +18,6 @@
1918
from stgit.run import Run, RunException
2019
from stgit.utils import (EditorException,
2120
add_sign_line,
22-
edit_bytes,
2321
edit_string,
2422
get_hook,
2523
parse_name_email_date,

stgit/commands/imprt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
check_head_top_equal,
2323
check_local_changes,
2424
git_id,
25-
name_email,
2625
parse_mail,
2726
parse_patch,
2827
print_crt_patch)

stgit/commands/refresh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from stgit.argparse import opt
77
from stgit.commands import common
88
from stgit.lib import git, transaction, edit
9-
from stgit.config import config, GitConfigException
9+
from stgit.config import config
1010
from stgit.out import out
1111

1212
__copyright__ = """

stgit/out.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import (absolute_import, division, print_function,
33
unicode_literals)
4-
import codecs
54
import io
65
import sys
76
import textwrap

stgit/templates.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import sys
99

1010
from stgit import basedir
11-
from stgit.compat import text
1211

1312
__copyright__ = """
1413
Copyright (C) 2006, Catalin Marinas <[email protected]>

0 commit comments

Comments
 (0)