aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhodecode/lib/auth.py2
-rw-r--r--rhodecode/lib/utils2.py1
-rw-r--r--rhodecode/lib/vcs/backends/hg/changeset.py4
-rw-r--r--rhodecode/lib/vcs/utils/__init__.py1
-rw-r--r--rhodecode/model/user.py1
5 files changed, 2 insertions, 7 deletions
diff --git a/rhodecode/lib/auth.py b/rhodecode/lib/auth.py
index 577fa998..49416f78 100644
--- a/rhodecode/lib/auth.py
+++ b/rhodecode/lib/auth.py
@@ -64,7 +64,7 @@ class PasswordGenerator(object):
passwd_gen = PasswordGenerator()
#print 8-letter password containing only big and small letters
of alphabet
- print passwd_gen.gen_password(8, passwd_gen.ALPHABETS_BIG_SMALL)
+ passwd_gen.gen_password(8, passwd_gen.ALPHABETS_BIG_SMALL)
"""
ALPHABETS_NUM = r'''1234567890'''
ALPHABETS_SMALL = r'''qwertyuiopasdfghjklzxcvbnm'''
diff --git a/rhodecode/lib/utils2.py b/rhodecode/lib/utils2.py
index 227a83e4..249597bb 100644
--- a/rhodecode/lib/utils2.py
+++ b/rhodecode/lib/utils2.py
@@ -215,7 +215,6 @@ def safe_str(unicode_, to_encoding=None):
try:
import chardet
encoding = chardet.detect(unicode_)['encoding']
- print encoding
if encoding is None:
raise UnicodeEncodeError()
diff --git a/rhodecode/lib/vcs/backends/hg/changeset.py b/rhodecode/lib/vcs/backends/hg/changeset.py
index 8bed6973..774985b9 100644
--- a/rhodecode/lib/vcs/backends/hg/changeset.py
+++ b/rhodecode/lib/vcs/backends/hg/changeset.py
@@ -260,11 +260,9 @@ class MercurialChangeset(BaseChangeset):
elif prefix.strip() == '':
raise VCSError("Prefix cannot be empty")
- print stream.closed
archival.archive(self.repository._repo, stream, self.raw_id,
kind, prefix=prefix, subrepos=subrepos)
- print stream.closed
-
+
if stream.closed and hasattr(stream, 'name'):
stream = open(stream.name, 'rb')
elif hasattr(stream, 'mode') and 'r' not in stream.mode:
diff --git a/rhodecode/lib/vcs/utils/__init__.py b/rhodecode/lib/vcs/utils/__init__.py
index 822cb653..2af9a561 100644
--- a/rhodecode/lib/vcs/utils/__init__.py
+++ b/rhodecode/lib/vcs/utils/__init__.py
@@ -90,7 +90,6 @@ def safe_str(unicode_, to_encoding=None):
try:
import chardet
encoding = chardet.detect(unicode_)['encoding']
- print encoding
if encoding is None:
raise UnicodeEncodeError()
diff --git a/rhodecode/model/user.py b/rhodecode/model/user.py
index 2f4151d3..764ca911 100644
--- a/rhodecode/model/user.py
+++ b/rhodecode/model/user.py
@@ -531,7 +531,6 @@ class UserModel(BaseModel):
for perm in user_repo_group_perms_from_users_groups:
g_k = perm.UsersGroupRepoGroupToPerm.group.group_name
- print perm, g_k
p = perm.Permission.permission_name
cur_perm = user.permissions[GK][g_k]
# overwrite permission only if it's greater than permission