Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-updates-src > by-pkgid > 106c1ed83258e318b5aff3abe13cef62 > files > 1

viewvc-1.1.11-1mdv2010.2.src.rpm

--- lib/viewvc.py.config	2008-11-04 21:46:52.000000000 +0100
+++ lib/viewvc.py	2008-11-30 01:48:35.000000000 +0100
@@ -3956,10 +3956,7 @@
   debug.t_start('load-config')
 
   if pathname is None:
-    pathname = (os.environ.get("VIEWVC_CONF_PATHNAME")
-                or os.environ.get("VIEWCVS_CONF_PATHNAME")
-                or os.path.join(os.path.dirname(os.path.dirname(__file__)),
-                                "viewvc.conf"))
+    pathname = '/etc/viewvc/viewvc.conf'
 
   cfg = config.Config()
   cfg.set_defaults()