| 158 | |
| 159 | |
| 160 | bool PythonRoutines::PerformRepoEraseInPython(const QString& localRepo, const QString& bookid) |
| 161 | { |
| 162 | bool results = false; |
| 163 | int rv = -1; |
| 164 | QString error_traceback; |
| 165 | QList<QVariant> args; |
| 166 | args.append(QVariant(localRepo)); |
| 167 | args.append(QVariant(bookid)); |
| 168 | |
| 169 | EmbeddedPython * epython = EmbeddedPython::instance(); |
| 170 | |
| 171 | QVariant res = epython->runInPython( QString("repomanager"), |
| 172 | QString("eraseRepo"), |
| 173 | args, |
| 174 | &rv, |
| 175 | error_traceback); |
| 176 | if (rv == 0) { |
| 177 | results = (res.toInt() > 0); |
| 178 | } |
| 179 | return results; |
| 180 | } |
| 181 | |
| 182 | QStringList PythonRoutines::GetRepoTagsInPython(const QString& localRepo, const QString& bookid) |
| 183 | { |
nothing calls this directly
no test coverage detected