Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashaag committed Dec 3, 2011
1 parent 7655d83 commit 9b03a47
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 623 deletions.
2 changes: 1 addition & 1 deletion vcs/backends/base.py
Expand Up @@ -113,7 +113,7 @@ def size(self):
for f in files:
size += tip.get_file_size(f.path)

except RepositoryError, e:
except RepositoryError:
pass
return size

Expand Down
2 changes: 0 additions & 2 deletions vcs/backends/git.py
Expand Up @@ -731,8 +731,6 @@ def fill_archive(self, stream=None, kind='tgz', prefix=None,
if stream is None:
raise VCSError('You need to pass in a valid stream for filling'
' with archival data')
else:
arch_path = None

popen = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True,
cwd=self.repository.path)
Expand Down
1 change: 0 additions & 1 deletion vcs/tests/test_cli.py
@@ -1,6 +1,5 @@
from __future__ import with_statement

import inspect
import mock
import sys
import vcs
Expand Down
3 changes: 1 addition & 2 deletions vcs/tests/test_hg.py
Expand Up @@ -4,8 +4,7 @@
from vcs.backends.hg import MercurialRepository, MercurialChangeset
from vcs.exceptions import RepositoryError, VCSError, NodeDoesNotExistError
from vcs.nodes import NodeKind, NodeState
from conf import PACKAGE_DIR, TEST_HG_REPO, TEST_HG_REPO_CLONE, \
TEST_HG_REPO_PULL
from conf import TEST_HG_REPO, TEST_HG_REPO_CLONE, TEST_HG_REPO_PULL
from vcs.utils.compat import unittest


Expand Down
1 change: 0 additions & 1 deletion vcs/utils/__init__.py
Expand Up @@ -2,7 +2,6 @@
This module provides some useful tools for ``vcs`` like annotate/diff html
output. It also includes some internal helpers.
"""
import sys
import time
import datetime

Expand Down
177 changes: 0 additions & 177 deletions vcs/utils/annotate.py

This file was deleted.

0 comments on commit 9b03a47

Please sign in to comment.