PEP8 code style cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
"""
|
"""
|
||||||
PasteScript commands for Pecan.
|
PasteScript commands for Pecan.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from runner import CommandRunner
|
from runner import CommandRunner
|
||||||
from create import CreateCommand
|
from create import CreateCommand
|
||||||
from shell import ShellCommand
|
from shell import ShellCommand
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
"""
|
"""
|
||||||
PasteScript base commands for Pecan.
|
PasteScript base command for Pecan.
|
||||||
"""
|
"""
|
||||||
from pecan.configuration import _runtime_conf, set_config
|
from pecan.configuration import _runtime_conf, set_config
|
||||||
from paste.script import command as paste_command
|
from paste.script import command as paste_command
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
class Command(paste_command.Command):
|
class Command(paste_command.Command):
|
||||||
"""
|
"""
|
||||||
Base class for Pecan commands.
|
Base class for Pecan commands.
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
"""
|
"""
|
||||||
PasteScript commands for Pecan.
|
PasteScript create command for Pecan.
|
||||||
"""
|
"""
|
||||||
from paste.script.create_distro import CreateDistroCommand
|
from paste.script.create_distro import CreateDistroCommand
|
||||||
|
|
||||||
from pecan.templates import DEFAULT_TEMPLATE
|
|
||||||
from base import Command
|
from base import Command
|
||||||
|
from pecan.templates import DEFAULT_TEMPLATE
|
||||||
|
|
||||||
import copy
|
import copy
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
class CreateCommand(CreateDistroCommand, Command):
|
class CreateCommand(CreateDistroCommand, Command):
|
||||||
"""
|
"""
|
||||||
Creates the file layout for a new Pecan distribution.
|
Creates the file layout for a new Pecan distribution.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
PasteScript Command Runner
|
PasteScript command runner.
|
||||||
"""
|
"""
|
||||||
from paste.script import command as paste_command
|
from paste.script import command as paste_command
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
"""
|
"""
|
||||||
PasteScript shell command for Pecan.
|
PasteScript shell command for Pecan.
|
||||||
"""
|
"""
|
||||||
import sys
|
|
||||||
|
|
||||||
from webtest import TestApp
|
from webtest import TestApp
|
||||||
|
|
||||||
from base import Command
|
from base import Command
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
class ShellCommand(Command):
|
class ShellCommand(Command):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user