- # not sure what to do about this
- meta = sql.connect(options.dsn)
- wp_options = meta.tables["wp_options"]
- wp_options.update().where(wp_options.c.option_name == 'siteurl').values(option_value=options.web_path).execute()
- wp_options.update().where(wp_options.c.option_name == 'home').values(option_value="http://%s%s" % (options.web_host, options.web_path)).execute() # XXX: what if missing leading slash; this should be put in a function
-