Skip to contentSkip to conversation

opkg-make-index: small fix for filelist

PATCH Applied Martin Jansa 2 participants 3 messages Oct 4, 2012 – Oct 24, 2012

lore
Share & tools
lore
#0 lore raw

cover opkg-make-index: small fix for filelist

The following changes since commit 423ecd36b4782327c16f516885d1248249c7724a:

Changed call to subprocess.check_output which isn't compatible with Python 2.6 (2012-06-19 08:34:48 +0100)

are available in the git repository at:

git://github.com/shr-project/opkg-utils master
https://github.com/shr-project/opkg-utils/tree/jansa/pull

Marc Olzheim (1):
opkg-make-index: fix mis-indented else:

 opkg-make-index | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.12
#1 lore raw

PATCH 1/1 opkg-make-index: fix mis-indented else:

From: Marc Olzheim <[email protected]>

---
 opkg-make-index | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
opkg-make-index +1 -1
index 1c3a8e1..44fa64d 100755
@@ -213,7 +213,7 @@ if filelist_filename:
             (h,t) = os.path.split(fn)
             if not t: continue
             if t not in files: files[t] = name+':'+fn
-        else: files[t] = files[t] + ',' + name+':'+fn
+            else: files[t] = files[t] + ',' + name+':'+fn
 
     tmp_filelist_filename = ("%s.%d" % (filelist_filename, os.getpid()))
     f = open(tmp_filelist_filename, "w")
Signature · 1 line
1.7.12
#2 lore raw

Re: [opkg-utils][PATCH 1/1] opkg-make-index: fix mis-indented else:

Quoted 12 lines · Martin Jansa

From: Marc Olzheim <[email protected]>

---
 opkg-make-index | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
opkg-make-index +0 -0
index 1c3a8e1..44fa64d 100755

opkg-make-index if filelist_filename: · line 219

Quoted 8 lines
opkg-make-index +1 -1
@@ -213,7 +213,7 @@ if filelist_filename:
             (h,t) = os.path.split(fn)
             if not t: continue
             if t not in files: files[t] = name+':'+fn
-        else: files[t] = files[t] + ',' + name+':'+fn
+            else: files[t] = files[t] + ',' + name+':'+fn
 
     tmp_filelist_filename = ("%s.%d" % (filelist_filename, os.getpid()))
     f = open(tmp_filelist_filename, "w")

Merged to master, thanks.

Richard