aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-05-23 18:20:27 +0200
committerMilo Casagrande <milo@ubuntu.com>2013-05-23 18:20:27 +0200
commitd33f9293d002110f198e68f54fe1fc41b5aa9f4c (patch)
tree365ef5ecd6100478056cb9f906864fafd38dedfc
parentd72b7dc3b08c54c197dc608ab8f6e782a9f68d48 (diff)
Added missing import.v1.5.4_linaro5
-rw-r--r--rhodecode/lib/utils2.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rhodecode/lib/utils2.py b/rhodecode/lib/utils2.py
index e14388d9..95142cb9 100644
--- a/rhodecode/lib/utils2.py
+++ b/rhodecode/lib/utils2.py
@@ -27,6 +27,7 @@ import re
import time
import datetime
import webob
+import os
from pwd import getpwuid
from grp import getgrgid
@@ -587,6 +588,4 @@ def get_sys_user_group(path):
path_stat = os.stat(path)
user = getpwuid(path_stat.st_uid).pw_name
group = getgrgid(path_stat.st_gid).gr_name
- else:
- log.debug('Path %s does not exists' % path)
return user, group