FreeBSD Bugzilla – Attachment 73025 Details for
Bug 105982
Update databases/py-migrate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 688 bytes, created by
Aron Stansvik
on 2006-11-28 23:30:10 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Aron Stansvik
Created:
2006-11-28 23:30:10 UTC
Size:
688 bytes
patch
obsolete
>--- migrate/versioning/script/script.py.orig Fri Oct 27 05:48:25 2006 >+++ migrate/versioning/script/script.py Thu Nov 9 20:01:50 2006 >@@ -19,10 +19,11 @@ > del sys.path[-1] > return module > >-def logsql_engine(func): >+def logsql_engine(func,force=False): > """migrate.run.migrate_engine is a logengine in the decorated function""" > def entangle(*p,**k): >- migrate.run.migrate_engine = sqlalchemy.create_engine(None,strategy='logsql') >+ if force or (not getattr(migrate.run,'migrate_engine',None)): >+ migrate.run.migrate_engine = sqlalchemy.create_engine(None,strategy='logsql') > reload(migrate) > try: > return func(*p,**k)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 105982
: 73025