various unicode fixes
Change-Id: Ia3a83b678a5084fd1d43b8cf513b296fdbde3d91 Reviewed-on: https://forge.frm2.tum.de/review/19198 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
@ -36,16 +36,16 @@ import unicodedata
|
||||
from os import path
|
||||
|
||||
|
||||
repodir = path.abspath(path.join(path.dirname(__file__), '..', '..'))
|
||||
repodir = path.abspath(path.join(path.dirname(__file__), u'..', u'..'))
|
||||
|
||||
CONFIG = {
|
||||
'piddir': os.path.join(repodir, 'pid'),
|
||||
'logdir': os.path.join(repodir, 'log'),
|
||||
'confdir': os.path.join(repodir, 'etc'),
|
||||
} if os.path.exists(os.path.join(repodir, '.git')) else {
|
||||
'piddir': '/var/run/secop',
|
||||
'logdir': '/var/log',
|
||||
'confdir': '/etc/secop',
|
||||
u'piddir': os.path.join(repodir, u'pid'),
|
||||
u'logdir': os.path.join(repodir, u'log'),
|
||||
u'confdir': os.path.join(repodir, u'etc'),
|
||||
} if os.path.exists(os.path.join(repodir, u'.git')) else {
|
||||
u'piddir': u'/var/run/secop',
|
||||
u'logdir': u'/var/log',
|
||||
u'confdir': u'/etc/secop',
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user