Skip to content

Commit

Permalink
python/: clean up imports
Browse files Browse the repository at this point in the history
- Remove unused imports
- Remove relative imports
  • Loading branch information
markokr committed Sep 10, 2009
1 parent c35c960 commit 48f7c1f
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion python/londiste/compare.py
Expand Up @@ -5,7 +5,7 @@
Currently just does count(1) on both sides.
"""

import sys, os, time, skytools
import sys, skytools

__all__ = ['Comparator']

Expand Down
4 changes: 2 additions & 2 deletions python/londiste/repair.py
Expand Up @@ -5,9 +5,9 @@
missing inserts/updates/deletes.
"""

import sys, os, time, skytools
import sys, os, skytools

from syncer import Syncer
from londiste.syncer import Syncer

__all__ = ['Repairer']

Expand Down
2 changes: 1 addition & 1 deletion python/londiste/table_copy.py
Expand Up @@ -5,7 +5,7 @@
For internal usage.
"""

import sys, os, time, skytools
import sys, time, skytools

from skytools.dbstruct import *
from londiste.playback import *
Expand Down
2 changes: 1 addition & 1 deletion python/pgq/cascade/consumer.py
Expand Up @@ -4,7 +4,7 @@
Does not maintain node, but is able to pause, resume and switch provider.
"""

import sys, time, skytools
import sys, time

from pgq.consumer import Consumer

Expand Down
2 changes: 1 addition & 1 deletion python/pgq/cascade/worker.py
Expand Up @@ -4,7 +4,7 @@
"""

import sys, time, skytools
import time

from pgq.cascade.consumer import CascadedConsumer
from pgq.producer import bulk_insert_events
Expand Down
2 changes: 1 addition & 1 deletion python/pgq/remoteconsumer.py
Expand Up @@ -4,7 +4,7 @@
"""

import sys, time, skytools
import sys

from pgq.consumer import Consumer

Expand Down
2 changes: 1 addition & 1 deletion python/pgq/status.py
Expand Up @@ -2,7 +2,7 @@
"""Status display.
"""

import sys, os, skytools
import sys, skytools

__all__ = ['PGQStatus']

Expand Down
4 changes: 2 additions & 2 deletions python/pgq/ticker.py
Expand Up @@ -3,10 +3,10 @@
It will also launch maintenance job.
"""

import sys, os, time, threading
import time, threading
import skytools

from maint import MaintenanceJob
from pgq.maint import MaintenanceJob

__all__ = ['SmallTicker']

Expand Down
2 changes: 1 addition & 1 deletion python/skytools/adminscript.py
Expand Up @@ -3,7 +3,7 @@
"""Admin scripting.
"""

import sys, os, inspect
import sys, inspect

from skytools.scripting import DBScript
from skytools.quoting import quote_statement
Expand Down
2 changes: 1 addition & 1 deletion python/skytools/skylog.py
@@ -1,7 +1,7 @@
"""Our log handlers for Python's logging package.
"""

import sys, os, time, socket
import os, time, socket
import logging, logging.handlers

from skytools.psycopgwrapper import connect_database
Expand Down

0 comments on commit 48f7c1f

Please sign in to comment.