Fix #1019 - cannot create mirror for git spec
This commit is contained in:
parent
055f7f4ab6
commit
0384794912
@ -307,9 +307,6 @@ def archive(self, destination):
|
|||||||
if not self.archive_file:
|
if not self.archive_file:
|
||||||
raise NoArchiveFileError("Cannot call archive() before fetching.")
|
raise NoArchiveFileError("Cannot call archive() before fetching.")
|
||||||
|
|
||||||
if not extension(destination) == extension(self.archive_file):
|
|
||||||
raise ValueError("Cannot archive without matching extensions.")
|
|
||||||
|
|
||||||
shutil.move(self.archive_file, destination)
|
shutil.move(self.archive_file, destination)
|
||||||
|
|
||||||
@_needs_stage
|
@_needs_stage
|
||||||
|
Loading…
Reference in New Issue
Block a user