Changeset - d9fa335650d3
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-06-17 17:37:18
marcin@python-works.com
moved json import into lib
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/__init__.py
Show inline comments
 
@@ -21,12 +21,19 @@
 
# GNU General Public License for more details.
 
#
 
# You should have received a copy of the GNU General Public License
 
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 

	
 

	
 
try:
 
    import json
 
except ImportError:
 
    #python 2.5 compatibility
 
    import simplejson as json
 

	
 

	
 
def __get_lem():
 
    from pygments import lexers
 
    from string import lower
 
    from collections import defaultdict
 

	
 
    d = defaultdict(lambda: [])
0 comments (0 inline, 0 general)