v.licheni.net
/
stack
/
code
/
dboxswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a529dbf
)
renamed error message in profhandler
author
stack
<stack@inventati.org>
Sun, 8 Jul 2012 16:14:49 +0000
(18:14 +0200)
committer
stack
<stack@inventati.org>
Sun, 8 Jul 2012 16:14:49 +0000
(18:14 +0200)
profhandler.py
patch
|
blob
|
history
diff --git
a/profhandler.py
b/profhandler.py
index
1008c4b
..
760f45f
100755
(executable)
--- a/
profhandler.py
+++ b/
profhandler.py
@@
-94,7
+94,7
@@
class ProfHandler():
if self.isValidProfileName(profileName):
os.makedirs(os.path.join(self.getProfileFolder(), profileName))
else:
if self.isValidProfileName(profileName):
os.makedirs(os.path.join(self.getProfileFolder(), profileName))
else:
- raise AppError('Profile Name not valid')
+ raise AppError('Profile Name not valid
.\nAllowed only ascii characters.
')
print("Profile "+profileName+" created.")
def delProfile(self, profileName):
print("Profile "+profileName+" created.")
def delProfile(self, profileName):