git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Give a more helpful error message when we do not have an smb.conf
[sfrench/samba-autobuild/.git]
/
python
/
samba
/
upgradehelpers.py
diff --git
a/python/samba/upgradehelpers.py
b/python/samba/upgradehelpers.py
index 3b664fe0512e7532d21ca76d48ad2656d7b1ec23..9b2c1c233aaa004897f9e5139baa1715ab0523b3 100644
(file)
--- a/
python/samba/upgradehelpers.py
+++ b/
python/samba/upgradehelpers.py
@@
-197,7
+197,7
@@
def get_paths(param, targetdir=None, smbconf=None):
smbconf = param.default_path()
if not os.path.exists(smbconf):
- raise ProvisioningError("Unable to find smb.conf
"
)
+ raise ProvisioningError("Unable to find smb.conf
at %s" % smbconf
)
lp = param.LoadParm()
lp.load(smbconf)