Esempio n. 1
0
 def run(self):
     from sys import path
     path.append("mykernel")
     from github import download_from_github
     download_from_github('turulomio', 'reusingcode',
                          'python/myconfigparser.py', 'mykernel')
     download_from_github('turulomio', 'reusingcode', 'python/github.py',
                          'mykernel')
     download_from_github('turulomio', 'reusingcode', 'python/cpupower.py',
                          'mykernel')
     download_from_github('turulomio', 'reusingcode',
                          'python/datetime_functions.py', 'mykernel')
Esempio n. 2
0
 def run(self):
     from sys import path
     path.append("gentoo_overlay_autodoc")
     from github import download_from_github
     download_from_github('turulomio', 'reusingcode',
                          'python/decorators.py', 'gentoo_overlay_autodoc')
     download_from_github('turulomio', 'reusingcode',
                          'python/libmanagers.py', 'gentoo_overlay_autodoc')
     download_from_github('turulomio', 'reusingcode', 'python/github.py',
                          'gentoo_overlay_autodoc')
     download_from_github('turulomio', 'reusingcode',
                          'python/datetime_functions.py',
                          'gentoo_overlay_autodoc')
Esempio n. 3
0
 def run(self):
     from sys import path
     path.append("myemerge")
     from github import download_from_github
     download_from_github('turulomio', 'reusingcode', 'python/github.py',
                          'myemerge')
     download_from_github('turulomio', 'reusingcode', 'python/cpupower.py',
                          'myemerge')
     download_from_github('turulomio', 'reusingcode',
                          'python/myconfigparser.py', 'myemerge')
Esempio n. 4
0
    def run(self):
        from sys import path
        path.append("mymoviebook/reusing")
        print(self.local)
        if self.local is False:
            from github import download_from_github
            download_from_github('turulomio', 'reusingcode',
                                 'python/admin_pg.py', 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/file_functions.py',
                                 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/call_by_name.py',
                                 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode', 'python/casts.py',
                                 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/datetime_functions.py',
                                 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/decorators.py', 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/github.py', 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/libmanagers.py',
                                 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/connection_pg.py',
                                 'mymoviebook/reusing')
            download_from_github('turulomio', 'reusingcode',
                                 'python/text_inputs.py',
                                 'mymoviebook/reusing')

        from file_functions import replace_in_file
        replace_in_file("mymoviebook/reusing/libmanagers.py",
                        "from datetime_functions", "from .datetime_functions")
        replace_in_file("mymoviebook/reusing/libmanagers.py",
                        "from call_by_name", "from .call_by_name")
Esempio n. 5
0
 def run(self):
     from sys import path
     path.append("caloriestracker")
     from github import download_from_github
     download_from_github('turulomio','reusingcode','python/admin_pg.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/call_by_name.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/casts.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/database_update.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/libmanagers.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/connection_pg.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/connection_pg_qt.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/ui/frmAccess.ui', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/frmAccess.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/frmSelector.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/myqcharts.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/myqdialog.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/myqwidgets.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/myqtablewidget.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/wdgDatetime.ui', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/wdgDatetime.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/wdgYearMonth.ui', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/ui/wdgYearMonth.py', 'caloriestracker/ui')
     download_from_github('turulomio','reusingcode','python/package_resources.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/translationlanguages.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/datetime_functions.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/text_inputs.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/decorators.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/sqlparser.py', 'caloriestracker')
     download_from_github('turulomio','reusingcode','python/objects/percentage.py', 'caloriestracker/objects')
     download_from_github('turulomio','reusingcode','python/objects/currency.py', 'caloriestracker/objects')
     download_from_github('turulomio','reusingcode','python/ui/wdgDistributeAmount.py', 'caloriestracker/ui')
Esempio n. 6
0
 def run(self):
     from sys import path
     path.append("devicesinlan")
     from github import download_from_github
     download_from_github('turulomio', 'reusingcode',
                          'python/myqtablewidget.py', 'devicesinlan/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/decorators.py', 'devicesinlan')
     download_from_github('turulomio', 'reusingcode',
                          'python/libmanagers.py', 'devicesinlan')
     download_from_github('turulomio', 'reusingcode', 'python/github.py',
                          'devicesinlan')
     download_from_github('turulomio', 'reusingcode',
                          'python/datetime_functions.py', 'devicesinlan')
     download_from_github('turulomio', 'reusingcode',
                          'python/text_inputs.py', 'devicesinlan')
     download_from_github('turulomio', 'reusingcode',
                          'python/package_resources.py', 'devicesinlan')
Esempio n. 7
0
 def run(self):
     from sys import path
     path.append("officegenerator")
     from github import download_from_github
     download_from_github('turulomio', 'reusingcode', 'python/github.py',
                          'officegenerator')
     download_from_github('turulomio', 'reusingcode', 'python/casts.py',
                          'officegenerator')
     download_from_github('turulomio', 'reusingcode',
                          'python/datetime_functions.py', 'officegenerator')
     download_from_github('turulomio', 'reusingcode',
                          'python/decorators.py', 'officegenerator')
     download_from_github('turulomio', 'reusingcode',
                          'python/libmanagers.py', 'officegenerator')
     download_from_github('turulomio', 'reusingcode',
                          'python/objects/percentage.py',
                          'officegenerator/objects/')
     download_from_github('turulomio', 'reusingcode',
                          'python/objects/currency.py',
                          'officegenerator/objects/')
Esempio n. 8
0
 def handle(self, *args, **options):
     download_from_github("turulomio", "reusingcode",
                          "python_plain/casts.py", "books/reusing")
     download_from_github("turulomio", "reusingcode",
                          "python_plain/currency.py", "books/reusing")
     download_from_github("turulomio", "reusingcode",
                          "python_plain/github.py", "books/reusing")
     download_from_github("turulomio", "reusingcode",
                          "python/datetime_functions.py", "books/reusing")
     download_from_github("turulomio", "reusingcode",
                          "python_plain/myconfigparser.py", "books/reusing")
     download_from_github("turulomio", "reusingcode",
                          "python/text_inputs.py", "books/reusing")
     download_from_github("turulomio", "reusingcode",
                          "django/templatetags/mymenu.py",
                          "books/templatetags")
Esempio n. 9
0
 def run(self):
     from sys import path
     path.append("swapping_ebuilds")
     from github import download_from_github
     download_from_github('turulomio', 'reusingcode',
                          'python/decorators.py', 'swapping_ebuilds')
Esempio n. 10
0
 def run(self):
     from sys import path
     path.append("xulpymoney")
     from github import download_from_github
     download_from_github('turulomio', 'reusingcode', 'python/admin_pg.py',
                          'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/call_by_name.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/libmanagers.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/connection_pg.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/connection_pg_qt.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/database_update.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode', 'python/internet.py',
                          'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/frmAccess.ui', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/frmAccess.py', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/frmSelector.py', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/myqtablewidget.py', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/myqwidgets.py', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/myqcharts.py', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/wdgDatetime.ui', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/wdgDatetime.py', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/wdgYearMonth.ui', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/ui/wdgYearMonth.py', 'xulpymoney/ui')
     download_from_github('turulomio', 'reusingcode',
                          'python/package_resources.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/translationlanguages.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/datetime_functions.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/decorators.py', 'xulpymoney')
     download_from_github('turulomio', 'reusingcode', 'python/casts.py',
                          'xulpymoney')
     download_from_github('turulomio', 'reusingcode',
                          'python/objects/percentage.py',
                          'xulpymoney/objects/')
     download_from_github('turulomio', 'reusingcode',
                          'python/objects/currency.py',
                          'xulpymoney/objects/')