obnam: fix upstream regression

This commit is contained in:
Eivind Uggedal 2015-08-19 10:14:34 +00:00
parent 611299e7f2
commit 6723163d95
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,20 @@
--- obnamlib/plugins/backup_plugin.py
+++ obnamlib/plugins/backup_plugin.py
@@ -593,7 +593,7 @@ class BackupPlugin(obnamlib.ObnamPlugin):
self.open_or_reopen_fs(self.fs.reinit, root_url)
def open_or_reopen_fs(self, func, root_url):
- scheme, neloc, path, params, query, fragment = \
+ scheme, netloc, path, params, query, fragment = \
urlparse.urlparse(root_url)
try:
@@ -613,7 +613,7 @@ class BackupPlugin(obnamlib.ObnamPlugin):
for root_url in root_urls:
self.progress.what('determining absolute path for %s' % root_url)
- scheme, neloc, path, params, query, fragment = \
+ scheme, netloc, path, params, query, fragment = \
urlparse.urlparse(root_url)
if self.fs.isdir(path):

View file

@ -1,7 +1,7 @@
# Template file for 'obnam'
pkgname=obnam
version=1.14
revision=1
revision=2
build_style=python-module
makedepends="python-devel python-larch python-paramiko"
hostmakedepends="$makedepends python-yaml mdocml"