Changeset 485 for elixir

Show
Ignore:
Timestamp:
10/01/09 16:28:12 (3 years ago)
Author:
ged
Message:

fix a few cosmetic issues reported by pyflakes (mostly unused imports)

Location:
elixir/trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • elixir/trunk/examples/videostore/setup.py

    r11 r485  
    88    name="videostore", 
    99    version=version, 
    10      
     10 
    1111    # uncomment the following lines if you fill them out in release.py 
    1212    #description=description, 
     
    1616    #download_url=download_url, 
    1717    #license=license, 
    18      
     18 
    1919    install_requires = [ 
    2020        "TurboGears >= 1.0", 
    21         "SQLAlchemy",  
     21        "SQLAlchemy", 
    2222    ], 
    2323    scripts = ["start-videostore.py"], 
     
    2929        # Use keywords if you'll be adding your package to the 
    3030        # Python Cheeseshop 
    31          
     31 
    3232        # if this has widgets, uncomment the next line 
    3333        # 'turbogears.widgets', 
    34          
     34 
    3535        # if this has a tg-admin command, uncomment the next line 
    3636        # 'turbogears.command', 
    37          
     37 
    3838        # if this has identity providers, uncomment the next line 
    3939        # 'turbogears.identity.provider', 
    40      
     40 
    4141        # If this is a template plugin, uncomment the next line 
    4242        # 'python.templating.engines', 
    43          
     43 
    4444        # If this is a full application, uncomment the next line 
    4545        # 'turbogears.app', 
     
    5454        # the Cheeseshop, uncomment the next line 
    5555        # 'Framework :: TurboGears :: Applications', 
    56          
     56 
    5757        # if this is a package that includes widgets that you'll distribute 
    5858        # through the Cheeseshop, uncomment the next line 
     
    6161    test_suite = 'nose.collector', 
    6262    ) 
    63      
     63 
  • elixir/trunk/tests/test_associable.py

    r467 r485  
    33""" 
    44 
    5 from sqlalchemy import create_engine, and_ 
     5from sqlalchemy import and_ 
    66 
    77from elixir import * 
     
    1010 
    1111def setup(): 
    12 #    metadata.bind = create_engine('sqlite://', echo=True) 
    1312    metadata.bind = 'sqlite://' 
    1413 
  • elixir/trunk/tests/test_autosetup.py

    r467 r485  
    44 
    55from sqlalchemy import Table 
    6 from sqlalchemy.orm import create_session 
    76from elixir import * 
    87import elixir 
  • elixir/trunk/tests/test_dict.py

    r467 r485  
    33""" 
    44 
    5 import sqlalchemy as sa 
    65from elixir import * 
    76 
  • elixir/trunk/tests/test_m2m.py

    r481 r485  
    496496 
    497497    def test_manual_table_manual_joins(self): 
    498         from sqlalchemy import Table, Column, ForeignKey, \ 
    499                                ForeignKeyConstraint, and_ 
     498        from sqlalchemy import Table, Column, and_ 
    500499 
    501500        a_b = Table('a_b', metadata, 
  • elixir/trunk/tests/test_o2m.py

    r467 r485  
    44 
    55from elixir import * 
    6 from sqlalchemy import and_, ForeignKey 
     6from sqlalchemy import and_ 
    77from sqlalchemy.ext.orderinglist import ordering_list 
    88 
  • elixir/trunk/tests/test_versioning.py

    r467 r485  
    11from elixir import * 
    22from elixir.ext.versioned import acts_as_versioned 
    3 from datetime import datetime, timedelta 
     3from datetime import datetime 
    44 
    55import time