summaryrefslogtreecommitdiff
path: root/libpiny/lib/Piny/Repo.pm
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-23 01:34:50 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-23 01:34:50 -0700
commit1adce71880fffe22d54e06bad8b13aa2e6d6b035 (patch)
treeeb21bbc3805a5ab52e52c05a3205c60f926fee28 /libpiny/lib/Piny/Repo.pm
parentf7d6bd73efd82a99b7276a19fd022542c42d0427 (diff)
downloadpiny-code-1adce71880fffe22d54e06bad8b13aa2e6d6b035.tar.gz
piny-code-1adce71880fffe22d54e06bad8b13aa2e6d6b035.zip
Repo creation fucks up too much saved state; return a fresh object.
Diffstat (limited to 'libpiny/lib/Piny/Repo.pm')
-rw-r--r--libpiny/lib/Piny/Repo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm
index 4afcf4f..d25c3e7 100644
--- a/libpiny/lib/Piny/Repo.pm
+++ b/libpiny/lib/Piny/Repo.pm
@@ -437,7 +437,7 @@ sub create {
$repo->rebuild_ikiwiki;
};
- return $repo;
+ return $class->new( $name );
};
# Builder methods