diff options
Diffstat (limited to 'source4/dynconfig/wscript')
-rw-r--r-- | source4/dynconfig/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript index 835fc64ad0..7a9f419add 100644 --- a/source4/dynconfig/wscript +++ b/source4/dynconfig/wscript @@ -62,7 +62,7 @@ def get_varname(v): if v.startswith('with-'): v = v[5:] v = v.upper() - v = string.replace(v, '-', '_') + v = v.replace('-', '_') return v @@ -101,7 +101,7 @@ def configure(conf): if (not Options.options.ENABLE_FHS and (conf.env.PREFIX == '/usr' or conf.env.PREFIX == '/usr/local')): - print "ERROR: Don't install directly under /usr or /usr/local without using the FHS option (--enable-fhs)" + print("ERROR: Don't install directly under /usr or /usr/local without using the FHS option (--enable-fhs)") sys.exit(1) |