diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-05-23 01:34:50 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-05-23 01:34:50 -0700 |
commit | 1adce71880fffe22d54e06bad8b13aa2e6d6b035 (patch) | |
tree | eb21bbc3805a5ab52e52c05a3205c60f926fee28 /libpiny/lib/Piny | |
parent | f7d6bd73efd82a99b7276a19fd022542c42d0427 (diff) | |
download | piny-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')
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 2 |
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 |