obnam: fix upstream regression
This commit is contained in:
parent
611299e7f2
commit
6723163d95
2 changed files with 21 additions and 1 deletions
20
srcpkgs/obnam/patches/typo.patch
Normal file
20
srcpkgs/obnam/patches/typo.patch
Normal 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):
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue