This file contains 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
// ========================================================================== | |
// Project: DesktopTimecard | |
// Copyright: ©2011 My Company, Inc. | |
// ========================================================================== | |
/*globals DesktopTimecard */ | |
/** @namespace | |
My cool new app. Describe your application. | |
This file contains 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
# Project: Controlpanel | |
# Copyright: ©2011 My Company, Inc. | |
# =========================================================================== | |
config :marketcircle, | |
:required => ['sproutcore/empty_theme'], | |
:theme_name => 'mc-theme', | |
:test_required => ['sproutcore/testing'], | |
:debug_required => ['sproutcore/debug'] |
This file contains 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
import syslog | |
from #YOUAPP# import settings | |
class SysLogging: | |
def __init__(self, facility, prefix=None): | |
self.facility = facility | |
if prefix: | |
syslog.openlog(prefix) | |
def _logit(self, priority, message): | |
syslog.syslog(self.facility | priority, '%s' % (message)) |
NewerOlder