From 82f38a71c904d6d178d49037713f72a597b48bf4 Mon Sep 17 00:00:00 2001 From: mhagger Date: Mon, 19 Jul 2010 12:49:21 +0000 Subject: [PATCH] There is no reason to pass self._dumpfile to _write_dumpfile_header(). git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5229 be7e6eca-30d4-0310-a8e5-ac0d63af7087 --- cvs2svn_lib/svn_dump.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/cvs2svn_lib/svn_dump.py b/cvs2svn_lib/svn_dump.py index 55d8cf7a..1b4ee445 100644 --- a/cvs2svn_lib/svn_dump.py +++ b/cvs2svn_lib/svn_dump.py @@ -52,7 +52,7 @@ class DumpstreamDelegate(SVNRepositoryDelegate): self._revision_reader = revision_reader self._dumpfile = dumpfile - self._write_dumpfile_header(self._dumpfile) + self._write_dumpfile_header() # A set of the basic project infrastructure project directories # that have been created so far, as SVN paths. (The root @@ -61,13 +61,14 @@ class DumpstreamDelegate(SVNRepositoryDelegate): # directories etc. self._basic_directories = set(['']) - def _write_dumpfile_header(self, dumpfile): - # Initialize the dumpfile with the standard headers. - # - # Since the CVS repository doesn't have a UUID, and the Subversion - # repository will be created with one anyway, we don't specify a - # UUID in the dumpflie - dumpfile.write('SVN-fs-dump-format-version: 2\n\n') + def _write_dumpfile_header(self): + """Initialize the dumpfile with the standard headers. + + Since the CVS repository doesn't have a UUID, and the Subversion + repository will be created with one anyway, we don't specify a + UUID in the dumpfile.""" + + self._dumpfile.write('SVN-fs-dump-format-version: 2\n\n') def _utf8_path(self, path): """Return a copy of PATH encoded in UTF-8.""" -- 2.11.4.GIT