From c56922285530fb95768998bffef176bad53d1d26 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 12 May 2011 16:19:41 -0400 Subject: Remove form feeds (for compatibility with 2to3). --- Makefile | 6 +++--- libbe/storage/vcs/arch.py | 2 +- libbe/storage/vcs/base.py | 2 +- libbe/storage/vcs/bzr.py | 2 +- libbe/storage/vcs/darcs.py | 2 +- libbe/storage/vcs/git.py | 2 +- libbe/storage/vcs/hg.py | 2 +- libbe/storage/vcs/monotone.py | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index ca8e735..52d6e45 100644 --- a/Makefile +++ b/Makefile @@ -50,11 +50,11 @@ MANPAGE_FILES = $(patsubst %,${MAN_DIR}/%,${MANPAGES}) MANPAGE_HTML = $(patsubst %,${MAN_DIR}/%.html,${MANPAGES}) GENERATED_FILES += ${MANPAGE_FILES} ${MANPAGE_HTML} - + .PHONY: all all: build - + .PHONY: build build: $(LIBBE_VERSION) python setup.py build @@ -74,7 +74,7 @@ clean: $(RM) -rf ${GENERATED_FILES} $(MAKE) -C ${DOC_DIR} clean - + .PHONY: libbe/_version.py libbe/_version.py: git log -1 --date=short --pretty='format:"Autogenerated by make libbe/_version.py"%nversion_info = {%n "date":"%cd",%n "revision":"%H",%n "committer":"%cn"}%n' > $@ diff --git a/libbe/storage/vcs/arch.py b/libbe/storage/vcs/arch.py index 6c519c4..f0c0a29 100644 --- a/libbe/storage/vcs/arch.py +++ b/libbe/storage/vcs/arch.py @@ -437,7 +437,7 @@ class Arch(base.VCS): def _vcs_changed(self, revision): return self._parse_diff(self._diff(revision)) - + if libbe.TESTING == True: base.make_vcs_testcase_subclasses(Arch, sys.modules[__name__]) diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index 3ff6e7e..8d2ab60 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -1003,7 +1003,7 @@ class VCS (libbe.storage.base.VersionedStorage): libbe.storage.STORAGE_VERSION+'\n') self._vcs_add(self._u_rel_path(path)) - + if libbe.TESTING == True: class VCSTestCase (unittest.TestCase): """ diff --git a/libbe/storage/vcs/bzr.py b/libbe/storage/vcs/bzr.py index 9464d1d..17096ce 100644 --- a/libbe/storage/vcs/bzr.py +++ b/libbe/storage/vcs/bzr.py @@ -378,7 +378,7 @@ class Bzr(base.VCS): def _vcs_changed(self, revision): return self._parse_diff(self._diff(revision)) - + if libbe.TESTING == True: base.make_vcs_testcase_subclasses(Bzr, sys.modules[__name__]) diff --git a/libbe/storage/vcs/darcs.py b/libbe/storage/vcs/darcs.py index 4a19d1d..65e4263 100644 --- a/libbe/storage/vcs/darcs.py +++ b/libbe/storage/vcs/darcs.py @@ -402,7 +402,7 @@ class Darcs(base.VCS): def _vcs_changed(self, revision): return self._parse_diff(self._diff(revision)) - + if libbe.TESTING == True: base.make_vcs_testcase_subclasses(Darcs, sys.modules[__name__]) diff --git a/libbe/storage/vcs/git.py b/libbe/storage/vcs/git.py index 6de1d56..3802928 100644 --- a/libbe/storage/vcs/git.py +++ b/libbe/storage/vcs/git.py @@ -265,7 +265,7 @@ class Git(base.VCS): def _vcs_changed(self, revision): return self._parse_diff(self._diff(revision)) - + if libbe.TESTING == True: base.make_vcs_testcase_subclasses(Git, sys.modules[__name__]) diff --git a/libbe/storage/vcs/hg.py b/libbe/storage/vcs/hg.py index d610352..e8a0214 100644 --- a/libbe/storage/vcs/hg.py +++ b/libbe/storage/vcs/hg.py @@ -251,7 +251,7 @@ class Hg(base.VCS): def _vcs_changed(self, revision): return self._parse_diff(self._diff(revision)) - + if libbe.TESTING == True: base.make_vcs_testcase_subclasses(Hg, sys.modules[__name__]) diff --git a/libbe/storage/vcs/monotone.py b/libbe/storage/vcs/monotone.py index e99a6ec..1dbb34d 100644 --- a/libbe/storage/vcs/monotone.py +++ b/libbe/storage/vcs/monotone.py @@ -366,7 +366,7 @@ class Monotone (base.VCS): def _vcs_changed(self, revision): return self._parse_diff(self._diff(revision)) - + if libbe.TESTING == True: base.make_vcs_testcase_subclasses(Monotone, sys.modules[__name__]) -- cgit