Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
removing debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSloan committed Mar 24, 2014
1 parent fd9606a commit 1ac42ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions r2/r2/lib/cache.py
Expand Up @@ -72,7 +72,7 @@ def set_multi(self, keys, prefix='', time=0):
time = time)

def get(self, key, default=None):
r = None#memcache.Client.get(self, key)
r = memcache.Client.get(self, key)
if r is None: return default
return r

Expand All @@ -95,7 +95,7 @@ def _check_key(self, key):
raise TypeError('Key must be a string.')

def get(self, key, default=None):
r = None#dict.get(self, key)
r = dict.get(self, key)
if r is None: return default
return r

Expand Down
1 change: 0 additions & 1 deletion r2/r2/lib/db/thing.py
Expand Up @@ -263,7 +263,6 @@ def _byID(cls, ids, data=False, return_dict=True, extra_props=None):
def items_db(ids):
items = cls._get_item(cls._type_id, ids)
for i in items.keys():
print i
items[i] = cls._build(i, items[i])

#avoid race condition when incrmenting int props (data int
Expand Down
2 changes: 0 additions & 2 deletions r2/r2/templates/comment.html
Expand Up @@ -176,8 +176,6 @@
## Each comment has a hidden status span that is used to indicate voting errors.
<span id='${"status_"+thing._fullname}' class="error" style="display: none;"></span>
%endif
${thing._get_item(thing._type_id, thing._id)}
${thing._descendant_karma}
${self.admintagline()}
</%def>

Expand Down

0 comments on commit 1ac42ae

Please sign in to comment.