diff -r f33822c3eb47 -r 0165ce437462 ProjectDjango/DjangoMigrationsListDialog.py --- a/ProjectDjango/DjangoMigrationsListDialog.py Mon Dec 19 19:26:40 2016 +0100 +++ b/ProjectDjango/DjangoMigrationsListDialog.py Mon Dec 19 20:22:37 2016 +0100 @@ -36,10 +36,12 @@ """ Constructor + @param mode mode of the dialog + @type str + @param django reference to the Django project object + @type Project @param parent reference to the parent widget @type QWidget - @param django reference to the Django project object - @type Project """ super(DjangoMigrationsListDialog, self).__init__(parent) self.setupUi(self) @@ -235,7 +237,7 @@ ]) itm = QTreeWidgetItem(self.migrationsList, [ parts[0].strip(), - dependencies, + dependencies, ]) else: itm = QTreeWidgetItem(self.migrationsList, [ @@ -305,7 +307,7 @@ menu.addAction( self.tr("Make Migrations (dry-run)"), lambda: self.__makeMigrations(dryRun=True))\ - .setEnabled(len(selApps) > 0) + .setEnabled(len(selApps) > 0) else: menu.addAction(self.tr("Apply Selected Migrations"), self.__applyMigration)