More fixes for scrutinizer-ci

This commit is contained in:
RainLoop Team 2016-08-09 22:52:30 +03:00
parent c7e97b78d6
commit 59b32241bf
16 changed files with 116 additions and 191 deletions

View file

@ -58,17 +58,13 @@ function NewOpenPgpKeyPopupView()
_.delay(function() {
var mPromise = false;
try {
mPromise = PgpStore.openpgp.generateKey({
PgpStore.openpgp.generateKey({
userIds: [oUserId],
numBits: Utils.pInt(self.keyBitLength()),
passphrase: Utils.trim(self.password())
});
mPromise.then(function(mKeyPair) {
}).then(function(mKeyPair) {
self.submitRequest(false);