[library-web] Pass channel when generating HTML indexes



commit 462a12751a5620a9038d97fabea2f33d2b20185c
Author: Frédéric Péters <fpeters 0d be>
Date:   Sun Jan 26 10:23:18 2014 +0000

    Pass channel when generating HTML indexes

 src/lgo.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 5421485..315015f 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -763,6 +763,10 @@ class Lgo(App):
             cmd.insert(-2, '--stringparam')
             cmd.insert(-2, 'libgo.baseref')
             cmd.insert(-2, self.config.baseref)
+        if self.config.channels:
+            cmd.insert(-2, '--stringparam')
+            cmd.insert(-2, 'libgo.channel')
+            cmd.insert(-2, self.config.channels[0])
 
         logging.debug('executing %s' % ' '.join(cmd))
         rc = subprocess.call(cmd)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]