print statement removal
This commit is contained in:
parent
9ffc39c3c0
commit
2e74b87df5
@ -29,8 +29,6 @@ class RawAlterTableVisitor(object):
|
|||||||
def start_alter_table(self,param):
|
def start_alter_table(self,param):
|
||||||
table = self._to_table(param)
|
table = self._to_table(param)
|
||||||
table_name = self._to_table_name(table)
|
table_name = self._to_table_name(table)
|
||||||
print self
|
|
||||||
print self._do_quote_table_identifier(table_name)
|
|
||||||
self.append('\nALTER TABLE %s ' % self._do_quote_table_identifier(table_name))
|
self.append('\nALTER TABLE %s ' % self._do_quote_table_identifier(table_name))
|
||||||
return table
|
return table
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@ class TestAddDropColumn(fixture.DB):
|
|||||||
self.assertEquals(getattr(self.table.c,col_name),col)
|
self.assertEquals(getattr(self.table.c,col_name),col)
|
||||||
#drop_column(col,self.table)
|
#drop_column(col,self.table)
|
||||||
col = getattr(self.table.c,col_name)
|
col = getattr(self.table.c,col_name)
|
||||||
print 'inside fxn', self.url
|
|
||||||
# SQLite can't do drop column: stop here
|
# SQLite can't do drop column: stop here
|
||||||
if self.url.startswith('sqlite://'):
|
if self.url.startswith('sqlite://'):
|
||||||
self.assertRaises(changeset.exceptions.NotSupportedError,drop_column_func,col)
|
self.assertRaises(changeset.exceptions.NotSupportedError,drop_column_func,col)
|
||||||
@ -145,8 +144,6 @@ class TestAddDropColumn(fixture.DB):
|
|||||||
@fixture.usedb()
|
@fixture.usedb()
|
||||||
def test_byname(self):
|
def test_byname(self):
|
||||||
"""Add/drop columns via functions; by table object and column name"""
|
"""Add/drop columns via functions; by table object and column name"""
|
||||||
print 'vyname', self.url
|
|
||||||
print self
|
|
||||||
def add_func(col):
|
def add_func(col):
|
||||||
self.table.append_column(col)
|
self.table.append_column(col)
|
||||||
return create_column(col.name,self.table)
|
return create_column(col.name,self.table)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user