/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Private Attributes
Scraper::base::utils::DropDbiTables Class Reference

List of all members.

Public Member Functions

def __call__

Static Private Attributes

string _drop = "echo drop table if exists %(table)s, %(table)sVld | mysql --no-defaults --host=%(host)s --user=%(user)s --password=%(password)s --database=%(database)s "
string _zero = r""

Detailed Description

Definition at line 60 of file utils.py.


Member Function Documentation

def Scraper::base::utils::DropDbiTables::__call__ (   self)

Definition at line 63 of file utils.py.

00064                       :
00065         for _cmd in [self._drop, self._zero ]: 
00066             cmd = _cmd % self
00067             print os.popen( cmd  ).read(),
00068 


Member Data Documentation

string Scraper::base::utils::DropDbiTables::_drop = "echo drop table if exists %(table)s, %(table)sVld | mysql --no-defaults --host=%(host)s --user=%(user)s --password=%(password)s --database=%(database)s " [static, private]

Definition at line 61 of file utils.py.

string Scraper::base::utils::DropDbiTables::_zero = r"" [static, private]

Definition at line 62 of file utils.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:03 for Scraper by doxygen 1.7.4