From aea398e7044573ee74b5daac3e9fcce47f5b2280 Mon Sep 17 00:00:00 2001 From: Yoann Roman Date: Fri, 7 Jan 2011 10:49:46 -0500 Subject: [PATCH] PEP8 code style cleanup --- pecan/commands/__init__.py | 1 - pecan/commands/base.py | 3 ++- pecan/commands/create.py | 6 +++--- pecan/commands/runner.py | 2 +- pecan/commands/shell.py | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pecan/commands/__init__.py b/pecan/commands/__init__.py index 35231cf..dd0a7c8 100644 --- a/pecan/commands/__init__.py +++ b/pecan/commands/__init__.py @@ -1,7 +1,6 @@ """ PasteScript commands for Pecan. """ - from runner import CommandRunner from create import CreateCommand from shell import ShellCommand diff --git a/pecan/commands/base.py b/pecan/commands/base.py index 9514076..4121712 100644 --- a/pecan/commands/base.py +++ b/pecan/commands/base.py @@ -1,11 +1,12 @@ """ -PasteScript base commands for Pecan. +PasteScript base command for Pecan. """ from pecan.configuration import _runtime_conf, set_config from paste.script import command as paste_command import sys + class Command(paste_command.Command): """ Base class for Pecan commands. diff --git a/pecan/commands/create.py b/pecan/commands/create.py index 1f8b95c..8244b39 100644 --- a/pecan/commands/create.py +++ b/pecan/commands/create.py @@ -1,15 +1,15 @@ """ -PasteScript commands for Pecan. +PasteScript create command for Pecan. """ from paste.script.create_distro import CreateDistroCommand -from pecan.templates import DEFAULT_TEMPLATE from base import Command +from pecan.templates import DEFAULT_TEMPLATE import copy -import os import sys + class CreateCommand(CreateDistroCommand, Command): """ Creates the file layout for a new Pecan distribution. diff --git a/pecan/commands/runner.py b/pecan/commands/runner.py index 4e2d0e5..6043d9e 100644 --- a/pecan/commands/runner.py +++ b/pecan/commands/runner.py @@ -1,5 +1,5 @@ """ -PasteScript Command Runner +PasteScript command runner. """ from paste.script import command as paste_command diff --git a/pecan/commands/shell.py b/pecan/commands/shell.py index 0c228aa..8be6688 100644 --- a/pecan/commands/shell.py +++ b/pecan/commands/shell.py @@ -1,12 +1,12 @@ """ PasteScript shell command for Pecan. """ -import sys - from webtest import TestApp from base import Command +import sys + class ShellCommand(Command): """