On Nov 13, 2007 4:44 PM, m h <[EMAIL PROTECTED]> wrote:
> On Nov 13, 2007 5:14 AM, Simon Pamies <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm very pleased to announce the release of SQLAutocode 0.4.1 and
> > 0.5. This tool enables SQLAlchemy users to automagically generate
> > python code from an existing database layout and even has the
> >
>
> Hey Simon, I found your code today and started to hack on it to do db
> migrations.  Since it is out of the scope of your project, I'll
> probably just write my own.   But before I came to that conclusion, I
> did some cleaning up of the autocode.py.  Feel free to accept it if
> you want.  Here's the overview of the changes in the attached diff:
>
>  * Remove import * - I know SA does this all over the place, but when
> you have various projects that you are doing this with (ie both
> autocode and SA) it makes it difficult to know what came from where.
> Especially if you are an outside developer
>
>  * added a _main() function
>
>  * changed getopt to optparse
>
>  * added newlines after "else:"
>
>  * changed "if foo is True:" to "if foo:"
>
> cheers,
>
> matt
>

I should note that I didn't test all the options...  I might have
introduced some bugs in the optparse conversion.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to