Permalink
Browse files

improved comments

  • Loading branch information...
1 parent 222121f commit 98497f53e5815d11d5fc790e155e84eba3472b6f @lavelle committed Feb 10, 2013
Showing with 6 additions and 8 deletions.
  1. +0 −2 apikeys.py
  2. +0 −1 dbox.py
  3. +3 −4 pyjson.py
  4. +3 −0 settings.py
  5. +0 −1 setup.py
View
@@ -1,2 +0,0 @@
-API_KEY = "rvml2qyo081dvmn"
-API_SECRET = "toe9kimrkhd4bx7"
View
@@ -5,7 +5,6 @@
from dropbox.client import DropboxClient
from settings import *
-from apikeys import *
from message import Message
View
@@ -20,9 +20,8 @@ def __init__(self, path, base={}):
"""
Create the file if it does not exist and add an empty JSON object to it
- Arguments:
- - path: The path to the file to store the JSON in
- - base: The root structure of the JSON document
+ path - The path to the file to store the JSON in
+ base - The root structure of the JSON document
"""
self.path = path
@@ -50,7 +49,7 @@ def remove(self, key):
self.doc[key] = None
def save(self):
- """Save a json representation of the Python dictionary to the file"""
+ """Save a JSON representation of the Python dictionary to the file"""
f = open(self.path, 'w')
f.write(json.dumps(self.doc, indent=4))
View
@@ -27,6 +27,9 @@
TOKEN_PATH = os.path.join(APP_PATH, 'token.json')
GITHUB_TOKEN_PATH = os.path.join(APP_PATH, 'github_token.json')
+API_KEY = "rvml2qyo081dvmn"
+API_SECRET = "toe9kimrkhd4bx7"
+
# Services to send the link to the hosted file to
SHARING_SERVICES = 'clipboard facebook twitter email stdout'.split(' ')
View
@@ -18,7 +18,6 @@
'dropbox'
],
py_modules=[
- 'apikeys',
'clipcloud',
'clipboard',
'dbox',

0 comments on commit 98497f5

Please sign in to comment.