Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make it work in Python 2.5 too

  • Loading branch information...
commit 2407971a1295b68c828e4f6db716a7cb7414c691 1 parent 187f787
rhymes authored December 20, 2009

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. 7  pinder/campfire.py
7  pinder/campfire.py
... ...
@@ -1,8 +1,11 @@
1 1
 "Campfire client"
2  
-import json
  2
+import httplib2
  3
+try:
  4
+    import json
  5
+except ImportError:
  6
+    import simplejson as json
3 7
 import urlparse
4 8
 
5  
-import httplib2
6 9
 
7 10
 from exc import HTTPUnauthorizedException, HTTPNotFoundException
8 11
 from room import Room

0 notes on commit 2407971

Please sign in to comment.
Something went wrong with that request. Please try again.