From 511b5f68ed8a67117ab708ceb294394d7f38dfe0 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@cd1c1023-2f26-0410-ae45-c471fc1f0318> Date: Sat, 17 Nov 2007 13:27:33 +0000 Subject: [PATCH] fix path generation git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@715 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- server/activator | 5 +++-- server/reagent | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/server/activator b/server/activator index 2cb53486f..ecfde5bda 100644 --- a/server/activator +++ b/server/activator @@ -58,6 +58,9 @@ def print_help(): options = argv[1:] +from entropyConstants import * +from serverConstants import * + # print version if (' '.join(options).find("--version") != -1) or (' '.join(options).find(" -V") != -1): print_generic(APPNAME+": "+APPVERSION) @@ -72,8 +75,6 @@ if len(options) < 1 or ' '.join(options).find("--help") != -1 or ' '.join(option import entropyTools import activatorTools -from entropyConstants import * -from serverConstants import * # preliminary options parsing _options = [] diff --git a/server/reagent b/server/reagent index 5a2437b89..946f56e56 100644 --- a/server/reagent +++ b/server/reagent @@ -63,6 +63,9 @@ def print_help(): options = argv[1:] +from entropyConstants import * +from serverConstants import * + # print version if (' '.join(options).find("--version") != -1) or (' '.join(options).find(" -V") != -1): print_generic(APPNAME+": "+APPVERSION) @@ -78,8 +81,7 @@ if len(options) < 1 or ' '.join(options).find("--help") != -1 or ' '.join(option import entropyTools import reagentTools import databaseTools -from entropyConstants import * -from serverConstants import * + # preliminary options parsing _options = []