This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data_classes = [Product] + PRODUCT_DATA_CLASSES | |
| for product_data_class in data_classes: | |
| if not revision.is_registered(product_data_class): | |
| revision.register(product_data_class) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Tue Jul 20 14:54:00 2010] [error] starting python from /usr/local/apache2/bin/httpd | |
| [Tue Jul 20 14:54:00 2010] [error] [client 127.0.0.1] mod_wsgi (pid=2214): Target WSGI script '/Volumes/WorkHD/Users/Shared/WebServer/current_scp/src/app.wsgi' cannot be loaded as Python module. | |
| [Tue Jul 20 14:54:00 2010] [error] [client 127.0.0.1] mod_wsgi (pid=2214): Exception occurred processing WSGI script '/Volumes/WorkHD/Users/Shared/WebServer/current_scp/src/app.wsgi'. | |
| [Tue Jul 20 14:54:00 2010] [error] [client 127.0.0.1] Traceback (most recent call last): | |
| [Tue Jul 20 14:54:00 2010] [error] [client 127.0.0.1] File "/Volumes/WorkHD/Users/Shared/WebServer/current_scp/src/app.wsgi", line 10, in <module> | |
| [Tue Jul 20 14:54:00 2010] [error] [client 127.0.0.1] application = build_wsgi_app(project_dir, 'scp') | |
| [Tue Jul 20 14:54:00 2010] [error] [client 127.0.0.1] File "/Volumes/WorkHD/Users/Shared/WebServer/dh-shared-dev/src/wsgiapp/__init__.py", line 22, in build_wsgi_app | |
| [Tue Jul 20 14:54:00 2010] [error] [client 127. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grantt-mac:ipad_serenityv1 grantt$ hg log 000.jpg | |
| changeset: 95:33b1339a6906 | |
| parent: 93:e9bc9e828807 | |
| user: Chase Caster <chasec@darkhorse.com> | |
| date: Fri Jun 25 10:34:49 2010 -0700 | |
| summary: new fixture with images |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback (most recent call last): | |
| File "providers/tests.py", line 21, in <module> | |
| from providers.usps import USPSProvider | |
| File "providers/../providers/usps.py", line 7, in <module> | |
| from usps.api.ratecalculator import DomesticRateCalculator, InternationalRateCalculator | |
| ImportError: No module named api.ratecalculator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| building 'psycopg2._psycopg' extension | |
| gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.7-i386-2.7/psycopg/psycopgmodule.o | |
| gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.4.2 (dt dec pq3 ext)" -DPG_VERSION_HEX=0x090004 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/local/python-x/include/python2.7 -I. -I/Volumes/WorkHD/Users/Shared/local/postgresql/include -I/Volumes/WorkHD/Users/Shared/local/postgresql/include/server -c psycopg/green.c -o build/temp.macosx-10.7-i386-2.7/psycopg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| asset tokens for grantt@darkhorse.com: | |
| asset_tokens="asset_token//55d10cdb-dbea-4368-add6-1acce064f36f|asset_token//4bd0387b-8bae-4cc7-982e-2134d86db42d|asset_token//a7466659-80dc-4e65-9157-103ba2517937|asset_token//0069a532-f03b-4b3b-9704-57232aee9ba1|asset_token//9b70260b-3464-467d-bd40-a15a912477b2|asset_token//4ed27c8f-4bc4-4451-9a1c-ca5de1629092|asset_token//56e5093e-3193-45f5-9939-3c1230fb1dba|asset_token//0748eb94-5547-4dc5-bb36-3b3dc4d2eab2|asset_token//8cb47dc7-3e35-47dd-ae30-00f29bca944f" | |
| asset_tokens for jgrantthomas@gmail.com: | |
| asset_tokens="asset_token//55d10cdb-dbea-4368-add6-1acce064f36f|asset_token//4bd0387b-8bae-4cc7-982e-2134d86db42d|asset_token//a7466659-80dc-4e65-9157-103ba2517937|asset_token//0069a532-f03b-4b3b-9704-57232aee9ba1|asset_token//9b70260b-3464-467d-bd40-a15a912477b2|asset_token//4ed27c8f-4bc4-4451-9a1c-ca5de1629092|asset_token//56e5093e-3193-45f5-9939-3c1230fb1dba|asset_token//0748eb94-5547-4dc5-bb36-3b3dc4d2eab2|asset_token//8cb47dc7-3e35-47dd-ae30-00f29bca944f|asset_token/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns shouter.views.layout | |
| (:use [hiccup.core :only [html]] | |
| [hiccup.page-helpers :only [doctype include-css]])) | |
| (defn common [title & body] | |
| (html | |
| (doctype :html5) | |
| [:head | |
| [:meta {:charset "utf-8"}] | |
| [:meta {:http-equiv "X-UA-Compatible" :content "IE=edge,chrome=1"}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/celery/app/registry.py b/celery/app/registry.py | |
| index 43d65f6..2789547 100644 | |
| --- a/celery/app/registry.py | |
| +++ b/celery/app/registry.py | |
| @@ -61,7 +61,7 @@ class TaskRegistry(dict): | |
| def filter_types(self, type): | |
| return dict((name, task) for name, task in self.iteritems() | |
| - if task.type == type) | |
| + if getattr(task, 'type', "regular") == type) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from tumblr import Api as Tumblr | |
| #your tumblr credentials go here | |
| BLOG = 'sweetpictures.tumblr.com' | |
| #email address or username should work here | |
| USER = 'mygreatusername@wk.com' | |
| PASSWORD = 'mysecurepassword' | |
| #basically, log in to Tumblr | |
| api = Tumblr(BLOG, USER, PASSWORD) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "objects": [ | |
| { | |
| "url": "http:\/\/www.sugarmedia.com\/nyccookbook\/pizza.html" | |
| } | |
| ], | |
| "action_link": { | |
| "type": "nyccookbook:save" | |
| }, | |
| "actions": [ |
OlderNewer