a little bit of cleanup
This commit is contained in:
parent
80d7fe7c1d
commit
68b400d096
2 changed files with 2 additions and 27 deletions
|
|
@ -1,25 +0,0 @@
|
|||
# Copyright (C) 2008-2011 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# 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, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
|
||||
import logs
|
||||
|
||||
log = logs.get()
|
||||
|
||||
class Tuned(object):
|
||||
def __init__(self, *args, **kwargs):
|
||||
log.debug("something")
|
||||
pass
|
||||
|
|
@ -15,13 +15,13 @@
|
|||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
#
|
||||
|
||||
__all__ = ["handle_signal", "daemonize"]
|
||||
|
||||
import logs
|
||||
import os
|
||||
import signal
|
||||
import sys
|
||||
|
||||
__all__ = ['handle_signal', 'daemonize']
|
||||
|
||||
log = logs.get("tuned")
|
||||
|
||||
def handle_signal(signals, callback, pass_args = False):
|
||||
|
|
|
|||
Loading…
Reference in a new issue