Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions luigi/db_task_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ class DbTaskHistory(task_history.TaskHistory):
Also has methods for useful db queries.
"""

CURRENT_SOURCE_VERSION = 1

@contextmanager
def _session(self, session=None):
if session:
Expand Down
4 changes: 0 additions & 4 deletions luigi/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@ def write(self, *args, **kwargs):
self._process.stdin.flush()
self._flushcount = 0

def writeLine(self, line):
assert "\n" not in line
self.write(line + "\n")

def _finish(self):
"""
Closes and waits for subprocess to exit.
Expand Down
7 changes: 0 additions & 7 deletions luigi/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ def get_spool_handler(filename):
return handler


def _server_already_running(pidfile):
existing_pid = check_pid(pidfile)
if pidfile and existing_pid:
return True
return False


def daemonize(cmd, pidfile=None, logdir=None, api_port=8082, address=None, unix_socket=None):
import daemon

Expand Down
2 changes: 1 addition & 1 deletion luigi/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def rpc_method(**request_args):
def _rpc_method(fn):
# If request args are passed, return this function again for use as
# the decorator function with the request args attached.
args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = inspect.getfullargspec(fn)
args, varargs, _, defaults, _, _, _ = inspect.getfullargspec(fn)
assert not varargs
first_arg, *all_args = args
assert first_arg == "self"
Expand Down
Loading