Skip to content

Instantly share code, notes, and snippets.

@ksdme
Created May 10, 2018 15:42
Show Gist options
  • Save ksdme/1438347d733acca728f7ac272f0621ea to your computer and use it in GitHub Desktop.
Save ksdme/1438347d733acca728f7ac272f0621ea to your computer and use it in GitHub Desktop.
coala --json output
[nltk_data] Downloading package punkt to /home/ksdme/nltk_data...
[nltk_data] Package punkt is already up-to-date!
[nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /home/ksdme/nltk_data...
[nltk_data] Package averaged_perceptron_tagger is already up-to-
[nltk_data] date!
{
"results": {
"all": [],
"all.commit": [
{
"additional_info": "",
"affected_code": [],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": null,
"id": 322612071396022856875724380815851874302,
"message": "Shortlog of HEAD commit isn't in imperative mood! Bad words are 'adds'",
"message_arguments": {},
"message_base": "Shortlog of HEAD commit isn't in imperative mood! Bad words are 'adds'",
"origin": "GitCommitBear",
"severity": 1
}
],
"all.python": [
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksdme\n+ @author ksdme\n \tminer for clearing the\n \tblockchain periodically\n \"\"\"\n"
},
"id": 304122889336084833203245061153140778239,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksdme\n-\tminer for clearing the\n+ miner for clearing the\n \tblockchain periodically\n \"\"\"\n from models import *\n"
},
"id": 260472420256767133555452021303530930050,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 4
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 4
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -1,7 +1,7 @@\n \"\"\"\n \t@author ksdme\n \tminer for clearing the\n-\tblockchain periodically\n+ blockchain periodically\n \"\"\"\n from models import *\n from app_exceptions import *\n"
},
"id": 35990900025247853946077269802265273520,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 11
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 11
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -8,7 +8,7 @@\n \n class Miner(object):\n \n-\t@staticmethod\n+ @staticmethod\n \tdef do(blockChain, txnpool, startfrom=1000, ends=10000000):\n \t\tpool = list(txnpool.select())\n \n"
},
"id": 50633014192729683808173977224539403180,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 12
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 12
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -9,7 +9,7 @@\n class Miner(object):\n \n \t@staticmethod\n-\tdef do(blockChain, txnpool, startfrom=1000, ends=10000000):\n+ def do(blockChain, txnpool, startfrom=1000, ends=10000000):\n \t\tpool = list(txnpool.select())\n \n \t\tfor txn in pool:\n"
},
"id": 156661193872674215772151723413576268179,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 13
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 13
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -10,7 +10,7 @@\n \n \t@staticmethod\n \tdef do(blockChain, txnpool, startfrom=1000, ends=10000000):\n-\t\tpool = list(txnpool.select())\n+ pool = list(txnpool.select())\n \n \t\tfor txn in pool:\n \t\t\tif not txn.valid():\n"
},
"id": 120723535475046711169125221626925932654,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 15
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 15
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -12,7 +12,7 @@\n \tdef do(blockChain, txnpool, startfrom=1000, ends=10000000):\n \t\tpool = list(txnpool.select())\n \n-\t\tfor txn in pool:\n+ for txn in pool:\n \t\t\tif not txn.valid():\n \t\t\t\tpool.remove(txn)\n \n"
},
"id": 42828539844971530543829085565124840848,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 16
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 16
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -13,7 +13,7 @@\n \t\tpool = list(txnpool.select())\n \n \t\tfor txn in pool:\n-\t\t\tif not txn.valid():\n+ if not txn.valid():\n \t\t\t\tpool.remove(txn)\n \n \t\t# create new block, mine it and do stuff\n"
},
"id": 332642786996357458453638046690630184510,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 17
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 17
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -14,7 +14,7 @@\n \n \t\tfor txn in pool:\n \t\t\tif not txn.valid():\n-\t\t\t\tpool.remove(txn)\n+ pool.remove(txn)\n \n \t\t# create new block, mine it and do stuff\n \t\tblock = Block(blockChain.lastHash(), blockChain.lastDifficulty()+1, pool)\n"
},
"id": 251112494598667051782905312145059898368,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 19
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 19
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -16,7 +16,7 @@\n \t\t\tif not txn.valid():\n \t\t\t\tpool.remove(txn)\n \n-\t\t# create new block, mine it and do stuff\n+ # create new block, mine it and do stuff\n \t\tblock = Block(blockChain.lastHash(), blockChain.lastDifficulty()+1, pool)\n \n \t\t# test all\n"
},
"id": 36524058169365633981627944277456092065,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 20
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 20
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -17,7 +17,7 @@\n \t\t\t\tpool.remove(txn)\n \n \t\t# create new block, mine it and do stuff\n-\t\tblock = Block(blockChain.lastHash(), blockChain.lastDifficulty()+1, pool)\n+ block = Block(blockChain.lastHash(), blockChain.lastDifficulty()+1, pool)\n \n \t\t# test all\n \t\tfor l in xrange(startfrom, ends+1):\n"
},
"id": 60924543376047279405222868190832488009,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 22
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 22
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -19,7 +19,7 @@\n \t\t# create new block, mine it and do stuff\n \t\tblock = Block(blockChain.lastHash(), blockChain.lastDifficulty()+1, pool)\n \n-\t\t# test all\n+ # test all\n \t\tfor l in xrange(startfrom, ends+1):\n \t\t\tif block.nonceTest(l):\n \t\t\t\tblock.setNonce(l)\n"
},
"id": 278186934887525188985394838892350303620,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 23
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 23
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -20,7 +20,7 @@\n \t\tblock = Block(blockChain.lastHash(), blockChain.lastDifficulty()+1, pool)\n \n \t\t# test all\n-\t\tfor l in xrange(startfrom, ends+1):\n+ for l in xrange(startfrom, ends+1):\n \t\t\tif block.nonceTest(l):\n \t\t\t\tblock.setNonce(l)\n \t\t\t\tblockChain.addBlock(block)\n"
},
"id": 128051883317376467160030700211699896652,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 24
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 24
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -21,7 +21,7 @@\n \n \t\t# test all\n \t\tfor l in xrange(startfrom, ends+1):\n-\t\t\tif block.nonceTest(l):\n+ if block.nonceTest(l):\n \t\t\t\tblock.setNonce(l)\n \t\t\t\tblockChain.addBlock(block)\n \t\t\t\tprint \"[!] Added Block: {}\".format(block.raw[\"hash\"])\n"
},
"id": 112353568553593783340139492332014718486,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 25
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 25
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -22,7 +22,7 @@\n \t\t# test all\n \t\tfor l in xrange(startfrom, ends+1):\n \t\t\tif block.nonceTest(l):\n-\t\t\t\tblock.setNonce(l)\n+ block.setNonce(l)\n \t\t\t\tblockChain.addBlock(block)\n \t\t\t\tprint \"[!] Added Block: {}\".format(block.raw[\"hash\"])\n \t\t\t\tbreak\n"
},
"id": 316814842282051583811018151154436855861,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 26
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 26
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -23,7 +23,7 @@\n \t\tfor l in xrange(startfrom, ends+1):\n \t\t\tif block.nonceTest(l):\n \t\t\t\tblock.setNonce(l)\n-\t\t\t\tblockChain.addBlock(block)\n+ blockChain.addBlock(block)\n \t\t\t\tprint \"[!] Added Block: {}\".format(block.raw[\"hash\"])\n \t\t\t\tbreak\n \n"
},
"id": 195452429873225374567186360741430094269,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 27
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 27
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -24,7 +24,7 @@\n \t\t\tif block.nonceTest(l):\n \t\t\t\tblock.setNonce(l)\n \t\t\t\tblockChain.addBlock(block)\n-\t\t\t\tprint \"[!] Added Block: {}\".format(block.raw[\"hash\"])\n+ print \"[!] Added Block: {}\".format(block.raw[\"hash\"])\n \t\t\t\tbreak\n \n \t@staticmethod\n"
},
"id": 242314780041512228972533111560283218836,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 28
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 28
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -25,7 +25,7 @@\n \t\t\t\tblock.setNonce(l)\n \t\t\t\tblockChain.addBlock(block)\n \t\t\t\tprint \"[!] Added Block: {}\".format(block.raw[\"hash\"])\n-\t\t\t\tbreak\n+ break\n \n \t@staticmethod\n \tdef fixLoTxn(txn, startfrom=1000, ends=10000000):\n"
},
"id": 138366952892315311655215431324145618039,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 30
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 30
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -27,7 +27,7 @@\n \t\t\t\tprint \"[!] Added Block: {}\".format(block.raw[\"hash\"])\n \t\t\t\tbreak\n \n-\t@staticmethod\n+ @staticmethod\n \tdef fixLoTxn(txn, startfrom=1000, ends=10000000):\n \t\tfor l in xrange(startfrom, ends):\n \t\t\tif txn.nonceTest(l):\n"
},
"id": 133095153584815860117710764074633447784,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 31
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 31
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -28,7 +28,7 @@\n \t\t\t\tbreak\n \n \t@staticmethod\n-\tdef fixLoTxn(txn, startfrom=1000, ends=10000000):\n+ def fixLoTxn(txn, startfrom=1000, ends=10000000):\n \t\tfor l in xrange(startfrom, ends):\n \t\t\tif txn.nonceTest(l):\n \t\t\t\ttxn.setNonce(l)\n"
},
"id": 82448004760391153291566292786627862748,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 32
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 32
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -29,7 +29,7 @@\n \n \t@staticmethod\n \tdef fixLoTxn(txn, startfrom=1000, ends=10000000):\n-\t\tfor l in xrange(startfrom, ends):\n+ for l in xrange(startfrom, ends):\n \t\t\tif txn.nonceTest(l):\n \t\t\t\ttxn.setNonce(l)\n \t\t\t\tprint \"[!] Solved LoTxn: {}\".format(txn.raw[\"hash\"])\n"
},
"id": 123683622833625881864949956786445467982,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 33
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 33
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -30,7 +30,7 @@\n \t@staticmethod\n \tdef fixLoTxn(txn, startfrom=1000, ends=10000000):\n \t\tfor l in xrange(startfrom, ends):\n-\t\t\tif txn.nonceTest(l):\n+ if txn.nonceTest(l):\n \t\t\t\ttxn.setNonce(l)\n \t\t\t\tprint \"[!] Solved LoTxn: {}\".format(txn.raw[\"hash\"])\n \t\t\t\tbreak\n"
},
"id": 163134154504279590047251231767177540427,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 34
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 34
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -31,6 +31,6 @@\n \tdef fixLoTxn(txn, startfrom=1000, ends=10000000):\n \t\tfor l in xrange(startfrom, ends):\n \t\t\tif txn.nonceTest(l):\n-\t\t\t\ttxn.setNonce(l)\n+ txn.setNonce(l)\n \t\t\t\tprint \"[!] Solved LoTxn: {}\".format(txn.raw[\"hash\"])\n \t\t\t\tbreak\n"
},
"id": 299955300668750061197842902403249459090,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 35
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 35
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -32,5 +32,5 @@\n \t\tfor l in xrange(startfrom, ends):\n \t\t\tif txn.nonceTest(l):\n \t\t\t\ttxn.setNonce(l)\n-\t\t\t\tprint \"[!] Solved LoTxn: {}\".format(txn.raw[\"hash\"])\n+ print \"[!] Solved LoTxn: {}\".format(txn.raw[\"hash\"])\n \t\t\t\tbreak\n"
},
"id": 76345262315565779667433242504120257284,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 36
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/miner.py",
"line": 36
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/miner.py": "--- \n+++ \n@@ -33,4 +33,4 @@\n \t\t\tif txn.nonceTest(l):\n \t\t\t\ttxn.setNonce(l)\n \t\t\t\tprint \"[!] Solved LoTxn: {}\".format(txn.raw[\"hash\"])\n-\t\t\t\tbreak\n+ break\n"
},
"id": 35257703668216309392794923216402287719,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksdme\n+ @author ksdme\n \tthe locoin server executer\n \"\"\"\n from txns import *\n"
},
"id": 130339689639807279286929845281147970429,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksdme\n-\tthe locoin server executer\n+ the locoin server executer\n \"\"\"\n from txns import *\n from wallet import *\n"
},
"id": 50381470365780206957439644365354230773,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 18
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 18
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -15,7 +15,7 @@\n # new endpoints\n @app.route(\"/new/identity/<int:name>\")\n def newIdentity(name):\n-\tidentity = Identity.new()\n+ identity = Identity.new()\n \tIdentity.saveWallet(identity, str(name))\n \n \treturn jsonify({\n"
},
"id": 317139043273405016315656620011399718365,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 19
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 19
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -16,7 +16,7 @@\n @app.route(\"/new/identity/<int:name>\")\n def newIdentity(name):\n \tidentity = Identity.new()\n-\tIdentity.saveWallet(identity, str(name))\n+ Identity.saveWallet(identity, str(name))\n \n \treturn jsonify({\n \t\t\"pk\": Identity.getPublicKey(identity) })\n"
},
"id": 246822338872494891089013778510171389354,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 21
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 21
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -18,7 +18,7 @@\n \tidentity = Identity.new()\n \tIdentity.saveWallet(identity, str(name))\n \n-\treturn jsonify({\n+ return jsonify({\n \t\t\"pk\": Identity.getPublicKey(identity) })\n \n # wallet identity\n"
},
"id": 119982785360272084325485767085899285019,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 22
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 22
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -19,7 +19,7 @@\n \tIdentity.saveWallet(identity, str(name))\n \n \treturn jsonify({\n-\t\t\"pk\": Identity.getPublicKey(identity) })\n+ \"pk\": Identity.getPublicKey(identity) })\n \n # wallet identity\n @app.route(\"/new/wallet/<int:name>\")\n"
},
"id": 320957651571222809640840410333202434116,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 27
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 27
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -24,7 +24,7 @@\n # wallet identity\n @app.route(\"/new/wallet/<int:name>\")\n def newWallet(name):\n-\twallet = Wallet.new()\n+ wallet = Wallet.new()\n \tWallet.saveWallet(wallet, str(name))\n \n \treturn jsonify({\n"
},
"id": 259966892874834917306624721993716933576,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 28
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 28
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -25,7 +25,7 @@\n @app.route(\"/new/wallet/<int:name>\")\n def newWallet(name):\n \twallet = Wallet.new()\n-\tWallet.saveWallet(wallet, str(name))\n+ Wallet.saveWallet(wallet, str(name))\n \n \treturn jsonify({\n \t\t\"pk\": Wallet.getPublicKey(wallet) })\n"
},
"id": 298177575565166684551755606719348881843,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 30
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 30
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -27,7 +27,7 @@\n \twallet = Wallet.new()\n \tWallet.saveWallet(wallet, str(name))\n \n-\treturn jsonify({\n+ return jsonify({\n \t\t\"pk\": Wallet.getPublicKey(wallet) })\n \n # simply add lotxn\n"
},
"id": 39833108711024140331424743672999093661,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 31
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 31
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -28,7 +28,7 @@\n \tWallet.saveWallet(wallet, str(name))\n \n \treturn jsonify({\n-\t\t\"pk\": Wallet.getPublicKey(wallet) })\n+ \"pk\": Wallet.getPublicKey(wallet) })\n \n # simply add lotxn\n @app.route(\"/txn/identity/<pubkey>/<location>/<int:difficulty>\")\n"
},
"id": 67112074398361836868815052998917897974,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 36
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 36
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -33,7 +33,7 @@\n # simply add lotxn\n @app.route(\"/txn/identity/<pubkey>/<location>/<int:difficulty>\")\n def makeLocationUpdate(pubkey, location, difficulty):\n-\tlocation = str(location) + \"=\"*(len(location)%4)\n+ location = str(location) + \"=\"*(len(location)%4)\n \tlocation = b64decode(location)\n \n \treturn jsonify(LoTxn(location, difficulty, pubkey).raw)\n"
},
"id": 279670383485478535207202968313507255242,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 37
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 37
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -34,7 +34,7 @@\n @app.route(\"/txn/identity/<pubkey>/<location>/<int:difficulty>\")\n def makeLocationUpdate(pubkey, location, difficulty):\n \tlocation = str(location) + \"=\"*(len(location)%4)\n-\tlocation = b64decode(location)\n+ location = b64decode(location)\n \n \treturn jsonify(LoTxn(location, difficulty, pubkey).raw)\n \n"
},
"id": 203063472468588923876915489240385718124,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 39
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 39
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -36,7 +36,7 @@\n \tlocation = str(location) + \"=\"*(len(location)%4)\n \tlocation = b64decode(location)\n \n-\treturn jsonify(LoTxn(location, difficulty, pubkey).raw)\n+ return jsonify(LoTxn(location, difficulty, pubkey).raw)\n \n if __name__ == \"__main__\":\n \tapp.run()\n"
},
"id": 331053695130272741505454440655139576773,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 42
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/locoin.py",
"line": 42
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/locoin.py": "--- \n+++ \n@@ -39,4 +39,4 @@\n \treturn jsonify(LoTxn(location, difficulty, pubkey).raw)\n \n if __name__ == \"__main__\":\n-\tapp.run()\n+ app.run()\n"
},
"id": 94047315708921030192281492976332230863,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksdme\n+ @author ksdme\n \tcontains the utils for\n \tthe generak purpose stuff\n \"\"\"\n"
},
"id": 241426115878391721344972251250600286448,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksdme\n-\tcontains the utils for\n+ contains the utils for\n \tthe generak purpose stuff\n \"\"\"\n from re import match\n"
},
"id": 265705042578904208838894105059609418311,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 4
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 4
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -1,7 +1,7 @@\n \"\"\"\n \t@author ksdme\n \tcontains the utils for\n-\tthe generak purpose stuff\n+ the generak purpose stuff\n \"\"\"\n from re import match\n from hashlib import md5\n"
},
"id": 91261506648038001312806610230847054228,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "Your source code contains trailing whitespaces. Those usually have no meaning. Please consider removing them.",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 15
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 15
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -12,7 +12,7 @@\n [#Invalid HashID]\n validates a given hashID and returns a boolean\n \"\"\"\n- \n+\n return match(r\"^([a-z\\d]{40})$\", str(hashID)) is not None\n \n def paddedString(of, wyth, length):\n"
},
"id": 50211634909380432678019920203050533816,
"message": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 19
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 19
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -16,7 +16,7 @@\n return match(r\"^([a-z\\d]{40})$\", str(hashID)) is not None\n \n def paddedString(of, wyth, length):\n-\tpadded = str(format(ord(of), 'b'))\n+ padded = str(format(ord(of), 'b'))\n \treturn (wyth*(8-len(padded)) + padded)\n \n def toBinary(string): \n"
},
"id": 162138036099282367114935937589437495658,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 20
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 20
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -17,7 +17,7 @@\n \n def paddedString(of, wyth, length):\n \tpadded = str(format(ord(of), 'b'))\n-\treturn (wyth*(8-len(padded)) + padded)\n+ return (wyth*(8-len(padded)) + padded)\n \n def toBinary(string): \n \treturn \"\".join(paddedString(x, \"0\", 8) for x in string)\n"
},
"id": 331007192137397645060596035873937057881,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "Your source code contains trailing whitespaces. Those usually have no meaning. Please consider removing them.",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 22
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 22
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -19,7 +19,7 @@\n \tpadded = str(format(ord(of), 'b'))\n \treturn (wyth*(8-len(padded)) + padded)\n \n-def toBinary(string): \n+def toBinary(string):\n \treturn \"\".join(paddedString(x, \"0\", 8) for x in string)\n \n def toReadable(hexString):\n"
},
"id": 119924985873631021503377251640843514763,
"message": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 23
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 23
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -20,7 +20,7 @@\n \treturn (wyth*(8-len(padded)) + padded)\n \n def toBinary(string): \n-\treturn \"\".join(paddedString(x, \"0\", 8) for x in string)\n+ return \"\".join(paddedString(x, \"0\", 8) for x in string)\n \n def toReadable(hexString):\n \treturn encode(hexString, \"hex\").decode(\"utf-8\")\n"
},
"id": 310213255244259485160689828891421441415,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 26
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/utils.py",
"line": 26
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/utils.py": "--- \n+++ \n@@ -23,4 +23,4 @@\n \treturn \"\".join(paddedString(x, \"0\", 8) for x in string)\n \n def toReadable(hexString):\n-\treturn encode(hexString, \"hex\").decode(\"utf-8\")\n+ return encode(hexString, \"hex\").decode(\"utf-8\")\n"
},
"id": 318658924804286955261165472575874325739,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksdme\n+ @author ksdme\n \tthe exceptions of the given\n \"\"\"\n \n"
},
"id": 40589093118110225472609029058485509911,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksdme\n-\tthe exceptions of the given\n+ the exceptions of the given\n \"\"\"\n \n \"\"\"\n"
},
"id": 99841962288047349292110095742951200834,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 7
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 7
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py": "--- \n+++ \n@@ -4,7 +4,7 @@\n \"\"\"\n \n \"\"\"\n-\tthe exception that is raised when\n+ the exception that is raised when\n \tthe given block has been rejected!\n \"\"\"\n class BlockRejected(Exception): pass\n"
},
"id": 305919932274087276504136523201622592541,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 8
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py",
"line": 8
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/exceptions.py": "--- \n+++ \n@@ -5,6 +5,6 @@\n \n \"\"\"\n \tthe exception that is raised when\n-\tthe given block has been rejected!\n+ the given block has been rejected!\n \"\"\"\n class BlockRejected(Exception): pass\n"
},
"id": 271507826874768394799717355277661597690,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksdme\n+ @author ksdme\n \tthe exceptions of the given\n \"\"\"\n \n"
},
"id": 74001743971893620748210153609202758107,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksdme\n-\tthe exceptions of the given\n+ the exceptions of the given\n \"\"\"\n \n \"\"\"\n"
},
"id": 123161350568769896795113417737715013748,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 7
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 7
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py": "--- \n+++ \n@@ -4,7 +4,7 @@\n \"\"\"\n \n \"\"\"\n-\tthe exception that is raised when\n+ the exception that is raised when\n \tthe given block has been rejected!\n \"\"\"\n class BlockRejected(Exception): pass\n"
},
"id": 132603017858555827776775011678102665935,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 8
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py",
"line": 8
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/app_exceptions.py": "--- \n+++ \n@@ -5,7 +5,7 @@\n \n \"\"\"\n \tthe exception that is raised when\n-\tthe given block has been rejected!\n+ the given block has been rejected!\n \"\"\"\n class BlockRejected(Exception): pass\n class BlockRejecetedToPool(Exception): pass\n"
},
"id": 337270440851336575388660490985877430041,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksdme\n+ @author ksdme\n \tthe various types of coins\n \"\"\"\n import rsa\n"
},
"id": 237895788246970326200021730843462243652,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksdme\n-\tthe various types of coins\n+ the various types of coins\n \"\"\"\n import rsa\n from utils import *\n"
},
"id": 133738655191679082488546215522995446119,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 18
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 18
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -15,7 +15,7 @@\n class Txn(object): pass\n \n class TxnPool(object):\n-\t\"\"\" maintainsa a transaction pool \"\"\"\n+ \"\"\" maintainsa a transaction pool \"\"\"\n \n \tdef __init__(self, empty=[]):\n \t\tassert isinstance(empty, list)\n"
},
"id": 248449318129492033439703045956948285005,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 20
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 20
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -17,7 +17,7 @@\n class TxnPool(object):\n \t\"\"\" maintainsa a transaction pool \"\"\"\n \n-\tdef __init__(self, empty=[]):\n+ def __init__(self, empty=[]):\n \t\tassert isinstance(empty, list)\n \t\tself._pool = empty\n \n"
},
"id": 228518518086496467976204062747457999724,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 21
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 21
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -18,7 +18,7 @@\n \t\"\"\" maintainsa a transaction pool \"\"\"\n \n \tdef __init__(self, empty=[]):\n-\t\tassert isinstance(empty, list)\n+ assert isinstance(empty, list)\n \t\tself._pool = empty\n \n \t\"\"\" FIFO \"\"\"\n"
},
"id": 154765544150454115355371028894921467636,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 22
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 22
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -19,7 +19,7 @@\n \n \tdef __init__(self, empty=[]):\n \t\tassert isinstance(empty, list)\n-\t\tself._pool = empty\n+ self._pool = empty\n \n \t\"\"\" FIFO \"\"\"\n \tdef select(self):\n"
},
"id": 194830860842126966050829634345770650359,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 24
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 24
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -21,7 +21,7 @@\n \t\tassert isinstance(empty, list)\n \t\tself._pool = empty\n \n-\t\"\"\" FIFO \"\"\"\n+ \"\"\" FIFO \"\"\"\n \tdef select(self):\n \t\tfor _ in xrange(10):\n \t\t\ttry:\n"
},
"id": 67992407401366431981232828667970376013,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 25
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 25
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -22,7 +22,7 @@\n \t\tself._pool = empty\n \n \t\"\"\" FIFO \"\"\"\n-\tdef select(self):\n+ def select(self):\n \t\tfor _ in xrange(10):\n \t\t\ttry:\n \t\t\t\tyield self.pool.pop()\n"
},
"id": 299695647020425197755262362953613527996,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 26
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 26
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -23,7 +23,7 @@\n \n \t\"\"\" FIFO \"\"\"\n \tdef select(self):\n-\t\tfor _ in xrange(10):\n+ for _ in xrange(10):\n \t\t\ttry:\n \t\t\t\tyield self.pool.pop()\n \t\t\texcept IndexError:\n"
},
"id": 177725772209848452570364226039928914387,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 27
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 27
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -24,7 +24,7 @@\n \t\"\"\" FIFO \"\"\"\n \tdef select(self):\n \t\tfor _ in xrange(10):\n-\t\t\ttry:\n+ try:\n \t\t\t\tyield self.pool.pop()\n \t\t\texcept IndexError:\n \t\t\t\tbreak\n"
},
"id": 198676867381478805270750907826707552859,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 28
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 28
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -25,7 +25,7 @@\n \tdef select(self):\n \t\tfor _ in xrange(10):\n \t\t\ttry:\n-\t\t\t\tyield self.pool.pop()\n+ yield self.pool.pop()\n \t\t\texcept IndexError:\n \t\t\t\tbreak\n \t\n"
},
"id": 182595584624951167488383799995206566052,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 29
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 29
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -26,7 +26,7 @@\n \t\tfor _ in xrange(10):\n \t\t\ttry:\n \t\t\t\tyield self.pool.pop()\n-\t\t\texcept IndexError:\n+ except IndexError:\n \t\t\t\tbreak\n \t\n \tdef addToPool(self, txn):\n"
},
"id": 295350119179736604166625034813773362869,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 30
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 30
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -27,7 +27,7 @@\n \t\t\ttry:\n \t\t\t\tyield self.pool.pop()\n \t\t\texcept IndexError:\n-\t\t\t\tbreak\n+ break\n \t\n \tdef addToPool(self, txn):\n \t\tassert isinstance(txn, Txn)\n"
},
"id": 157885364873073594306832211445251795575,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "Your source code contains trailing whitespaces. Those usually have no meaning. Please consider removing them.",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 31
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 31
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -28,7 +28,7 @@\n \t\t\t\tyield self.pool.pop()\n \t\t\texcept IndexError:\n \t\t\t\tbreak\n-\t\n+\n \tdef addToPool(self, txn):\n \t\tassert isinstance(txn, Txn)\n \n"
},
"id": 57740840299062726819756174451319855970,
"message": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 32
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 32
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -29,7 +29,7 @@\n \t\t\texcept IndexError:\n \t\t\t\tbreak\n \t\n-\tdef addToPool(self, txn):\n+ def addToPool(self, txn):\n \t\tassert isinstance(txn, Txn)\n \n \t\tif txn.valid():\n"
},
"id": 189259409013055566227906208525231588137,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 33
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 33
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -30,7 +30,7 @@\n \t\t\t\tbreak\n \t\n \tdef addToPool(self, txn):\n-\t\tassert isinstance(txn, Txn)\n+ assert isinstance(txn, Txn)\n \n \t\tif txn.valid():\n \t\t\tself._pool.append(txn)\n"
},
"id": 146360607521176763662469095310021085064,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 35
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 35
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -32,7 +32,7 @@\n \tdef addToPool(self, txn):\n \t\tassert isinstance(txn, Txn)\n \n-\t\tif txn.valid():\n+ if txn.valid():\n \t\t\tself._pool.append(txn)\n \t\telse:\n \t\t\traise BlockRejecetedToPool()\n"
},
"id": 84115147379685279926785921033273204500,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 36
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 36
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -33,7 +33,7 @@\n \t\tassert isinstance(txn, Txn)\n \n \t\tif txn.valid():\n-\t\t\tself._pool.append(txn)\n+ self._pool.append(txn)\n \t\telse:\n \t\t\traise BlockRejecetedToPool()\n \n"
},
"id": 200977711598948915917603140208917713231,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 37
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 37
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -34,7 +34,7 @@\n \n \t\tif txn.valid():\n \t\t\tself._pool.append(txn)\n-\t\telse:\n+ else:\n \t\t\traise BlockRejecetedToPool()\n \n \tpool = property(lambda self: self._pool)\n"
},
"id": 82885118137622035257783161795512859753,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 38
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 38
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -35,7 +35,7 @@\n \t\tif txn.valid():\n \t\t\tself._pool.append(txn)\n \t\telse:\n-\t\t\traise BlockRejecetedToPool()\n+ raise BlockRejecetedToPool()\n \n \tpool = property(lambda self: self._pool)\n \n"
},
"id": 71254604025857554707868828790667686324,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 40
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 40
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -37,7 +37,7 @@\n \t\telse:\n \t\t\traise BlockRejecetedToPool()\n \n-\tpool = property(lambda self: self._pool)\n+ pool = property(lambda self: self._pool)\n \n class LoTxn(Txn):\n \n"
},
"id": 196437936066122011867984765085838571406,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 44
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 44
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -41,7 +41,7 @@\n \n class LoTxn(Txn):\n \n-\t@staticmethod\n+ @staticmethod\n \tdef load(txn):\n \t\treturn LoTxn(\n \t\t\ttxn.raw[\"loc\"],\n"
},
"id": 265283639784004150149896322703255090176,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 45
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 45
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -42,7 +42,7 @@\n class LoTxn(Txn):\n \n \t@staticmethod\n-\tdef load(txn):\n+ def load(txn):\n \t\treturn LoTxn(\n \t\t\ttxn.raw[\"loc\"],\n \t\t\ttxn.raw[\"difficulty\"],\n"
},
"id": 201128837954563281394919880104329678107,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 46
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 46
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -43,7 +43,7 @@\n \n \t@staticmethod\n \tdef load(txn):\n-\t\treturn LoTxn(\n+ return LoTxn(\n \t\t\ttxn.raw[\"loc\"],\n \t\t\ttxn.raw[\"difficulty\"],\n \t\t\ttxn.pub,\n"
},
"id": 283927837812220547160215289261263891260,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 47
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 47
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -44,7 +44,7 @@\n \t@staticmethod\n \tdef load(txn):\n \t\treturn LoTxn(\n-\t\t\ttxn.raw[\"loc\"],\n+ txn.raw[\"loc\"],\n \t\t\ttxn.raw[\"difficulty\"],\n \t\t\ttxn.pub,\n \t\t\ttxn.raw[\"at\"])\n"
},
"id": 96775617426322962974572648279836944336,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 48
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 48
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -45,7 +45,7 @@\n \tdef load(txn):\n \t\treturn LoTxn(\n \t\t\ttxn.raw[\"loc\"],\n-\t\t\ttxn.raw[\"difficulty\"],\n+ txn.raw[\"difficulty\"],\n \t\t\ttxn.pub,\n \t\t\ttxn.raw[\"at\"])\n \n"
},
"id": 49846269176723541935215135253392855661,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 49
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 49
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -46,7 +46,7 @@\n \t\treturn LoTxn(\n \t\t\ttxn.raw[\"loc\"],\n \t\t\ttxn.raw[\"difficulty\"],\n-\t\t\ttxn.pub,\n+ txn.pub,\n \t\t\ttxn.raw[\"at\"])\n \n \tdef __init__(self, lat_long, difficulty, identity, time=None):\n"
},
"id": 180327990210347067013739652089273791679,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 50
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 50
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -47,7 +47,7 @@\n \t\t\ttxn.raw[\"loc\"],\n \t\t\ttxn.raw[\"difficulty\"],\n \t\t\ttxn.pub,\n-\t\t\ttxn.raw[\"at\"])\n+ txn.raw[\"at\"])\n \n \tdef __init__(self, lat_long, difficulty, identity, time=None):\n \t\tassert isinstance(difficulty, int)\n"
},
"id": 242258844037390739479372096187650894714,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 52
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 52
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -49,7 +49,7 @@\n \t\t\ttxn.pub,\n \t\t\ttxn.raw[\"at\"])\n \n-\tdef __init__(self, lat_long, difficulty, identity, time=None):\n+ def __init__(self, lat_long, difficulty, identity, time=None):\n \t\tassert isinstance(difficulty, int)\n \t\tassert not isinstance(identity, str)\n \n"
},
"id": 166649156934184365791020270524472940940,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 53
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 53
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -50,7 +50,7 @@\n \t\t\ttxn.raw[\"at\"])\n \n \tdef __init__(self, lat_long, difficulty, identity, time=None):\n-\t\tassert isinstance(difficulty, int)\n+ assert isinstance(difficulty, int)\n \t\tassert not isinstance(identity, str)\n \n \t\tself._lat_long = lat_long\n"
},
"id": 93858663869922537114849565619615114456,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 54
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 54
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -51,7 +51,7 @@\n \n \tdef __init__(self, lat_long, difficulty, identity, time=None):\n \t\tassert isinstance(difficulty, int)\n-\t\tassert not isinstance(identity, str)\n+ assert not isinstance(identity, str)\n \n \t\tself._lat_long = lat_long\n \t\tself._time = int(tyme()*1000)\n"
},
"id": 272792497162886236511471172495418429561,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 56
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 56
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -53,7 +53,7 @@\n \t\tassert isinstance(difficulty, int)\n \t\tassert not isinstance(identity, str)\n \n-\t\tself._lat_long = lat_long\n+ self._lat_long = lat_long\n \t\tself._time = int(tyme()*1000)\n \t\tself._difficulty = int(difficulty)\n \t\tself._pubKey = Identity.getPublicKey(identity)\n"
},
"id": 291654790343954688590854541934109919104,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 57
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 57
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -54,7 +54,7 @@\n \t\tassert not isinstance(identity, str)\n \n \t\tself._lat_long = lat_long\n-\t\tself._time = int(tyme()*1000)\n+ self._time = int(tyme()*1000)\n \t\tself._difficulty = int(difficulty)\n \t\tself._pubKey = Identity.getPublicKey(identity)\n \n"
},
"id": 122341186156991550772737201650357803410,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 58
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 58
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -55,7 +55,7 @@\n \n \t\tself._lat_long = lat_long\n \t\tself._time = int(tyme()*1000)\n-\t\tself._difficulty = int(difficulty)\n+ self._difficulty = int(difficulty)\n \t\tself._pubKey = Identity.getPublicKey(identity)\n \n \t\tif time is not None:\n"
},
"id": 284007507382470275873783061541268232518,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 59
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 59
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -56,7 +56,7 @@\n \t\tself._lat_long = lat_long\n \t\tself._time = int(tyme()*1000)\n \t\tself._difficulty = int(difficulty)\n-\t\tself._pubKey = Identity.getPublicKey(identity)\n+ self._pubKey = Identity.getPublicKey(identity)\n \n \t\tif time is not None:\n \t\t\tself._time = int(time)\n"
},
"id": 211146744548333636494333813046087040614,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 61
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 61
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -58,7 +58,7 @@\n \t\tself._difficulty = int(difficulty)\n \t\tself._pubKey = Identity.getPublicKey(identity)\n \n-\t\tif time is not None:\n+ if time is not None:\n \t\t\tself._time = int(time)\n \n \t\tself._lo_txn_partial = {\n"
},
"id": 145741764264462800614955817787528565618,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 62
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 62
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -59,7 +59,7 @@\n \t\tself._pubKey = Identity.getPublicKey(identity)\n \n \t\tif time is not None:\n-\t\t\tself._time = int(time)\n+ self._time = int(time)\n \n \t\tself._lo_txn_partial = {\n \t\t\t\"pub\": sha1(self._pubKey).hexdigest(),\n"
},
"id": 155099084669628553533894130635070324415,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 64
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 64
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -61,7 +61,7 @@\n \t\tif time is not None:\n \t\t\tself._time = int(time)\n \n-\t\tself._lo_txn_partial = {\n+ self._lo_txn_partial = {\n \t\t\t\"pub\": sha1(self._pubKey).hexdigest(),\n \t\t\t\"ok\": 200\n \t\t}\n"
},
"id": 214872418232672371972113213031899204375,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 65
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 65
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -62,7 +62,7 @@\n \t\t\tself._time = int(time)\n \n \t\tself._lo_txn_partial = {\n-\t\t\t\"pub\": sha1(self._pubKey).hexdigest(),\n+ \"pub\": sha1(self._pubKey).hexdigest(),\n \t\t\t\"ok\": 200\n \t\t}\n \n"
},
"id": 53676329972607947652913572446099828974,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 66
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 66
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -63,7 +63,7 @@\n \n \t\tself._lo_txn_partial = {\n \t\t\t\"pub\": sha1(self._pubKey).hexdigest(),\n-\t\t\t\"ok\": 200\n+ \"ok\": 200\n \t\t}\n \n \t\tlo_txn_signed = dumps(self._lo_txn_partial)\n"
},
"id": 11194484785994228990315521311393375927,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 67
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 67
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -64,7 +64,7 @@\n \t\tself._lo_txn_partial = {\n \t\t\t\"pub\": sha1(self._pubKey).hexdigest(),\n \t\t\t\"ok\": 200\n-\t\t}\n+ }\n \n \t\tlo_txn_signed = dumps(self._lo_txn_partial)\n \t\tlo_txn_signed = rsa.encrypt(lo_txn_signed, identity[0])\n"
},
"id": 22652913913153458510022768819992244547,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 69
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 69
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -66,7 +66,7 @@\n \t\t\t\"ok\": 200\n \t\t}\n \n-\t\tlo_txn_signed = dumps(self._lo_txn_partial)\n+ lo_txn_signed = dumps(self._lo_txn_partial)\n \t\tlo_txn_signed = rsa.encrypt(lo_txn_signed, identity[0])\n \t\tlo_txn_signed = hexlify(lo_txn_signed)\n \n"
},
"id": 15517078716361304884825001453145722985,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 70
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 70
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -67,7 +67,7 @@\n \t\t}\n \n \t\tlo_txn_signed = dumps(self._lo_txn_partial)\n-\t\tlo_txn_signed = rsa.encrypt(lo_txn_signed, identity[0])\n+ lo_txn_signed = rsa.encrypt(lo_txn_signed, identity[0])\n \t\tlo_txn_signed = hexlify(lo_txn_signed)\n \n \t\tself._lo_txn = {\n"
},
"id": 231706448964606786152706792539826355178,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 71
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 71
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -68,7 +68,7 @@\n \n \t\tlo_txn_signed = dumps(self._lo_txn_partial)\n \t\tlo_txn_signed = rsa.encrypt(lo_txn_signed, identity[0])\n-\t\tlo_txn_signed = hexlify(lo_txn_signed)\n+ lo_txn_signed = hexlify(lo_txn_signed)\n \n \t\tself._lo_txn = {\n \t\t\t\"type\": \"lo\",\n"
},
"id": 64368564708876044602589292644853600927,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 73
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 73
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -70,7 +70,7 @@\n \t\tlo_txn_signed = rsa.encrypt(lo_txn_signed, identity[0])\n \t\tlo_txn_signed = hexlify(lo_txn_signed)\n \n-\t\tself._lo_txn = {\n+ self._lo_txn = {\n \t\t\t\"type\": \"lo\",\n \t\t\t\"at\": self._time,\n \t\t\t\"loc\": self._lat_long,\n"
},
"id": 114404351630545122708562906817906730463,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 74
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 74
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -71,7 +71,7 @@\n \t\tlo_txn_signed = hexlify(lo_txn_signed)\n \n \t\tself._lo_txn = {\n-\t\t\t\"type\": \"lo\",\n+ \"type\": \"lo\",\n \t\t\t\"at\": self._time,\n \t\t\t\"loc\": self._lat_long,\n \t\t\t\"identity\": lo_txn_signed,\n"
},
"id": 99554038803419288952569824039077501547,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 75
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 75
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -72,7 +72,7 @@\n \n \t\tself._lo_txn = {\n \t\t\t\"type\": \"lo\",\n-\t\t\t\"at\": self._time,\n+ \"at\": self._time,\n \t\t\t\"loc\": self._lat_long,\n \t\t\t\"identity\": lo_txn_signed,\n \t\t\t\"difficulty\": self._difficulty\n"
},
"id": 89233907914804263717050949883838308102,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 76
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 76
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -73,7 +73,7 @@\n \t\tself._lo_txn = {\n \t\t\t\"type\": \"lo\",\n \t\t\t\"at\": self._time,\n-\t\t\t\"loc\": self._lat_long,\n+ \"loc\": self._lat_long,\n \t\t\t\"identity\": lo_txn_signed,\n \t\t\t\"difficulty\": self._difficulty\n \t\t}\n"
},
"id": 272115434908558911671750239389305722992,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 77
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 77
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -74,7 +74,7 @@\n \t\t\t\"type\": \"lo\",\n \t\t\t\"at\": self._time,\n \t\t\t\"loc\": self._lat_long,\n-\t\t\t\"identity\": lo_txn_signed,\n+ \"identity\": lo_txn_signed,\n \t\t\t\"difficulty\": self._difficulty\n \t\t}\n \n"
},
"id": 294792173169162779732297454334433886272,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 78
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 78
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -75,7 +75,7 @@\n \t\t\t\"at\": self._time,\n \t\t\t\"loc\": self._lat_long,\n \t\t\t\"identity\": lo_txn_signed,\n-\t\t\t\"difficulty\": self._difficulty\n+ \"difficulty\": self._difficulty\n \t\t}\n \n \t\tlo_txn_hash = dumps(self._lo_txn)\n"
},
"id": 107250250609738602842026097994588216324,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 79
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 79
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -76,7 +76,7 @@\n \t\t\t\"loc\": self._lat_long,\n \t\t\t\"identity\": lo_txn_signed,\n \t\t\t\"difficulty\": self._difficulty\n-\t\t}\n+ }\n \n \t\tlo_txn_hash = dumps(self._lo_txn)\n \t\tlo_txn_hash = sha1(lo_txn_hash).hexdigest()\n"
},
"id": 168861956049906719515525334946737973008,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 81
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 81
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -78,7 +78,7 @@\n \t\t\t\"difficulty\": self._difficulty\n \t\t}\n \n-\t\tlo_txn_hash = dumps(self._lo_txn)\n+ lo_txn_hash = dumps(self._lo_txn)\n \t\tlo_txn_hash = sha1(lo_txn_hash).hexdigest()\n \n \t\tself._lo_txn[\"hash\"] = lo_txn_hash\n"
},
"id": 319604177502936112091060708419098260785,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 82
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 82
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -79,7 +79,7 @@\n \t\t}\n \n \t\tlo_txn_hash = dumps(self._lo_txn)\n-\t\tlo_txn_hash = sha1(lo_txn_hash).hexdigest()\n+ lo_txn_hash = sha1(lo_txn_hash).hexdigest()\n \n \t\tself._lo_txn[\"hash\"] = lo_txn_hash\n \t\tself._lo_txn[\"nonce\"] = \"\"\n"
},
"id": 16283908079495490197620298403880222991,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 84
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 84
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -81,7 +81,7 @@\n \t\tlo_txn_hash = dumps(self._lo_txn)\n \t\tlo_txn_hash = sha1(lo_txn_hash).hexdigest()\n \n-\t\tself._lo_txn[\"hash\"] = lo_txn_hash\n+ self._lo_txn[\"hash\"] = lo_txn_hash\n \t\tself._lo_txn[\"nonce\"] = \"\"\n \n \tdef json(self):\n"
},
"id": 79292041441515990866270149285571543281,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 85
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 85
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -82,7 +82,7 @@\n \t\tlo_txn_hash = sha1(lo_txn_hash).hexdigest()\n \n \t\tself._lo_txn[\"hash\"] = lo_txn_hash\n-\t\tself._lo_txn[\"nonce\"] = \"\"\n+ self._lo_txn[\"nonce\"] = \"\"\n \n \tdef json(self):\n \t\treturn dumps(self._lo_txn)\n"
},
"id": 300487182846447757974584018444268184871,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 87
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 87
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -84,7 +84,7 @@\n \t\tself._lo_txn[\"hash\"] = lo_txn_hash\n \t\tself._lo_txn[\"nonce\"] = \"\"\n \n-\tdef json(self):\n+ def json(self):\n \t\treturn dumps(self._lo_txn)\n \n \tdef nonceTest(self, nonce):\n"
},
"id": 129355130922235980694896778561865583084,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 88
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 88
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -85,7 +85,7 @@\n \t\tself._lo_txn[\"nonce\"] = \"\"\n \n \tdef json(self):\n-\t\treturn dumps(self._lo_txn)\n+ return dumps(self._lo_txn)\n \n \tdef nonceTest(self, nonce):\n \t\tself.raw[\"nonce\"] = str(nonce)\n"
},
"id": 199915191831481962548076470906866600005,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 90
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 90
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -87,7 +87,7 @@\n \tdef json(self):\n \t\treturn dumps(self._lo_txn)\n \n-\tdef nonceTest(self, nonce):\n+ def nonceTest(self, nonce):\n \t\tself.raw[\"nonce\"] = str(nonce)\n \n \t\tloTxnStr = self.json()\n"
},
"id": 294603663182901465468226779703079585134,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 91
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 91
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -88,7 +88,7 @@\n \t\treturn dumps(self._lo_txn)\n \n \tdef nonceTest(self, nonce):\n-\t\tself.raw[\"nonce\"] = str(nonce)\n+ self.raw[\"nonce\"] = str(nonce)\n \n \t\tloTxnStr = self.json()\n \t\tloTxnStr = sha1(loTxnStr).hexdigest()\n"
},
"id": 255338116533696320361761862317311404459,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 93
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 93
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -90,7 +90,7 @@\n \tdef nonceTest(self, nonce):\n \t\tself.raw[\"nonce\"] = str(nonce)\n \n-\t\tloTxnStr = self.json()\n+ loTxnStr = self.json()\n \t\tloTxnStr = sha1(loTxnStr).hexdigest()\n \t\treturn str(loTxnStr[:self.raw[\"difficulty\"]]).count(\"0\") == int(self.raw[\"difficulty\"])\n \n"
},
"id": 26227413635687092921890233294245379759,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 94
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 94
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -91,7 +91,7 @@\n \t\tself.raw[\"nonce\"] = str(nonce)\n \n \t\tloTxnStr = self.json()\n-\t\tloTxnStr = sha1(loTxnStr).hexdigest()\n+ loTxnStr = sha1(loTxnStr).hexdigest()\n \t\treturn str(loTxnStr[:self.raw[\"difficulty\"]]).count(\"0\") == int(self.raw[\"difficulty\"])\n \n \tdef setNonce(self, nonce):\n"
},
"id": 332506422275436543122940927106653494762,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 95
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 95
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -92,7 +92,7 @@\n \n \t\tloTxnStr = self.json()\n \t\tloTxnStr = sha1(loTxnStr).hexdigest()\n-\t\treturn str(loTxnStr[:self.raw[\"difficulty\"]]).count(\"0\") == int(self.raw[\"difficulty\"])\n+ return str(loTxnStr[:self.raw[\"difficulty\"]]).count(\"0\") == int(self.raw[\"difficulty\"])\n \n \tdef setNonce(self, nonce):\n \t\tself.raw[\"nonce\"] = str(nonce)\n"
},
"id": 291313783050838370237066611637685145452,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 97
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 97
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -94,7 +94,7 @@\n \t\tloTxnStr = sha1(loTxnStr).hexdigest()\n \t\treturn str(loTxnStr[:self.raw[\"difficulty\"]]).count(\"0\") == int(self.raw[\"difficulty\"])\n \n-\tdef setNonce(self, nonce):\n+ def setNonce(self, nonce):\n \t\tself.raw[\"nonce\"] = str(nonce)\n \n \tdef valid(self):\n"
},
"id": 257978307522772437991667366182356047677,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 98
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 98
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -95,7 +95,7 @@\n \t\treturn str(loTxnStr[:self.raw[\"difficulty\"]]).count(\"0\") == int(self.raw[\"difficulty\"])\n \n \tdef setNonce(self, nonce):\n-\t\tself.raw[\"nonce\"] = str(nonce)\n+ self.raw[\"nonce\"] = str(nonce)\n \n \tdef valid(self):\n \t\treturn self.nonceTest(self.raw[\"nonce\"])\n"
},
"id": 111708071822039538144862554726497723027,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 100
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 100
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -97,7 +97,7 @@\n \tdef setNonce(self, nonce):\n \t\tself.raw[\"nonce\"] = str(nonce)\n \n-\tdef valid(self):\n+ def valid(self):\n \t\treturn self.nonceTest(self.raw[\"nonce\"])\n \n \traw = property(lambda self: self._lo_txn)\n"
},
"id": 77330786473983739737941467591138659726,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 101
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 101
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -98,7 +98,7 @@\n \t\tself.raw[\"nonce\"] = str(nonce)\n \n \tdef valid(self):\n-\t\treturn self.nonceTest(self.raw[\"nonce\"])\n+ return self.nonceTest(self.raw[\"nonce\"])\n \n \traw = property(lambda self: self._lo_txn)\n \tpub = property(lambda self: self._pubKey)\n"
},
"id": 260455549876762752314184824989325646837,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 103
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 103
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -100,7 +100,7 @@\n \tdef valid(self):\n \t\treturn self.nonceTest(self.raw[\"nonce\"])\n \n-\traw = property(lambda self: self._lo_txn)\n+ raw = property(lambda self: self._lo_txn)\n \tpub = property(lambda self: self._pubKey)\n \n class MoTxn(Txn):\n"
},
"id": 84065848515476988964572054066305257336,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 104
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 104
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -101,7 +101,7 @@\n \t\treturn self.nonceTest(self.raw[\"nonce\"])\n \n \traw = property(lambda self: self._lo_txn)\n-\tpub = property(lambda self: self._pubKey)\n+ pub = property(lambda self: self._pubKey)\n \n class MoTxn(Txn):\n \n"
},
"id": 96168012939112154501080036354372381760,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 108
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 108
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -105,7 +105,7 @@\n \n class MoTxn(Txn):\n \n-\tdef __init__(self, blockChain, wallet, to, amount):\n+ def __init__(self, blockChain, wallet, to, amount):\n \t\t\"\"\"\n \t\t\tfor reasons, calculate the balances\n \t\t\tbeforehand and then validate the amount\n"
},
"id": 208033986465731757709863735529252273965,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 109
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 109
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -106,7 +106,7 @@\n class MoTxn(Txn):\n \n \tdef __init__(self, blockChain, wallet, to, amount):\n-\t\t\"\"\"\n+ \"\"\"\n \t\t\tfor reasons, calculate the balances\n \t\t\tbeforehand and then validate the amount\n \t\t\"\"\"\n"
},
"id": 221035402039603862636989992931423316715,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 110
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 110
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -107,7 +107,7 @@\n \n \tdef __init__(self, blockChain, wallet, to, amount):\n \t\t\"\"\"\n-\t\t\tfor reasons, calculate the balances\n+ for reasons, calculate the balances\n \t\t\tbeforehand and then validate the amount\n \t\t\"\"\"\n \t\tassert amount > 0\n"
},
"id": 266039977491499526823721797367042410745,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 111
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 111
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -108,7 +108,7 @@\n \tdef __init__(self, blockChain, wallet, to, amount):\n \t\t\"\"\"\n \t\t\tfor reasons, calculate the balances\n-\t\t\tbeforehand and then validate the amount\n+ beforehand and then validate the amount\n \t\t\"\"\"\n \t\tassert amount > 0\n \n"
},
"id": 52430688260287276979666953134258498985,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 112
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 112
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -109,7 +109,7 @@\n \t\t\"\"\"\n \t\t\tfor reasons, calculate the balances\n \t\t\tbeforehand and then validate the amount\n-\t\t\"\"\"\n+ \"\"\"\n \t\tassert amount > 0\n \n \t\tself._amount = float(amount)\n"
},
"id": 187610781798942004298761530380014371520,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 113
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 113
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -110,7 +110,7 @@\n \t\t\tfor reasons, calculate the balances\n \t\t\tbeforehand and then validate the amount\n \t\t\"\"\"\n-\t\tassert amount > 0\n+ assert amount > 0\n \n \t\tself._amount = float(amount)\n \t\tself._frm = Wallet.getPublicKey(wallet)\n"
},
"id": 19402630853258040385986336194538990445,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 115
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 115
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -112,7 +112,7 @@\n \t\t\"\"\"\n \t\tassert amount > 0\n \n-\t\tself._amount = float(amount)\n+ self._amount = float(amount)\n \t\tself._frm = Wallet.getPublicKey(wallet)\n \t\tself._wallet = wallet\n \t\tself._to = to\n"
},
"id": 291427320214936225489820598344645795727,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 116
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 116
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -113,7 +113,7 @@\n \t\tassert amount > 0\n \n \t\tself._amount = float(amount)\n-\t\tself._frm = Wallet.getPublicKey(wallet)\n+ self._frm = Wallet.getPublicKey(wallet)\n \t\tself._wallet = wallet\n \t\tself._to = to\n \t\tself._blockchain = blockChain\n"
},
"id": 90699916637037560409904445789655177640,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 117
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 117
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -114,7 +114,7 @@\n \n \t\tself._amount = float(amount)\n \t\tself._frm = Wallet.getPublicKey(wallet)\n-\t\tself._wallet = wallet\n+ self._wallet = wallet\n \t\tself._to = to\n \t\tself._blockchain = blockChain\n \n"
},
"id": 330723075744265972130958002135158471108,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 118
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 118
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -115,7 +115,7 @@\n \t\tself._amount = float(amount)\n \t\tself._frm = Wallet.getPublicKey(wallet)\n \t\tself._wallet = wallet\n-\t\tself._to = to\n+ self._to = to\n \t\tself._blockchain = blockChain\n \n \t\tself._signed = False\n"
},
"id": 277229487387437369723310908724896827729,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 119
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 119
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -116,7 +116,7 @@\n \t\tself._frm = Wallet.getPublicKey(wallet)\n \t\tself._wallet = wallet\n \t\tself._to = to\n-\t\tself._blockchain = blockChain\n+ self._blockchain = blockChain\n \n \t\tself._signed = False\n \n"
},
"id": 17806070220773065513279216084557330177,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 121
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 121
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -118,7 +118,7 @@\n \t\tself._to = to\n \t\tself._blockchain = blockChain\n \n-\t\tself._signed = False\n+ self._signed = False\n \n \t\tself._txn = {\n \t\t\t\"type\": \"mo\",\n"
},
"id": 5605128859383242352264670033236421043,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 123
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 123
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -120,7 +120,7 @@\n \n \t\tself._signed = False\n \n-\t\tself._txn = {\n+ self._txn = {\n \t\t\t\"type\": \"mo\",\n \t\t\t\"from\": self._frm\n \t\t}\n"
},
"id": 98815465205443689506425239724595884714,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 124
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 124
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -121,7 +121,7 @@\n \t\tself._signed = False\n \n \t\tself._txn = {\n-\t\t\t\"type\": \"mo\",\n+ \"type\": \"mo\",\n \t\t\t\"from\": self._frm\n \t\t}\n \n"
},
"id": 241008568289825750704381210376091153444,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 125
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 125
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -122,7 +122,7 @@\n \n \t\tself._txn = {\n \t\t\t\"type\": \"mo\",\n-\t\t\t\"from\": self._frm\n+ \"from\": self._frm\n \t\t}\n \n \tdef sign(self):\n"
},
"id": 233475843910207181856703255193953481367,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 126
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 126
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -123,7 +123,7 @@\n \t\tself._txn = {\n \t\t\t\"type\": \"mo\",\n \t\t\t\"from\": self._frm\n-\t\t}\n+ }\n \n \tdef sign(self):\n \t\tpayload = {\n"
},
"id": 56900378766325328725252881516210468090,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 128
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 128
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -125,7 +125,7 @@\n \t\t\t\"from\": self._frm\n \t\t}\n \n-\tdef sign(self):\n+ def sign(self):\n \t\tpayload = {\n \t\t\t\"to\": self._to,\n \t\t\t\"amount\": self._amount\n"
},
"id": 94282474096380835706350453438102141793,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 129
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 129
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -126,7 +126,7 @@\n \t\t}\n \n \tdef sign(self):\n-\t\tpayload = {\n+ payload = {\n \t\t\t\"to\": self._to,\n \t\t\t\"amount\": self._amount\n \t\t}\n"
},
"id": 83088059251983893526994862506677479381,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 130
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 130
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -127,7 +127,7 @@\n \n \tdef sign(self):\n \t\tpayload = {\n-\t\t\t\"to\": self._to,\n+ \"to\": self._to,\n \t\t\t\"amount\": self._amount\n \t\t}\n \n"
},
"id": 227247538882363319842119936459607668785,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 131
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 131
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -128,7 +128,7 @@\n \tdef sign(self):\n \t\tpayload = {\n \t\t\t\"to\": self._to,\n-\t\t\t\"amount\": self._amount\n+ \"amount\": self._amount\n \t\t}\n \n \t\tpayload_signed = rsa.encrypt(dumps(payload).encode('utf-8'), self._wallet[1])\n"
},
"id": 147118508311752711378961967469823664208,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 132
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 132
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -129,7 +129,7 @@\n \t\tpayload = {\n \t\t\t\"to\": self._to,\n \t\t\t\"amount\": self._amount\n-\t\t}\n+ }\n \n \t\tpayload_signed = rsa.encrypt(dumps(payload).encode('utf-8'), self._wallet[1])\n \t\tself._txn[\"payload\"] = hexlify(payload_signed)\n"
},
"id": 222049758222382742825463171359046229595,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 134
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 134
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -131,7 +131,7 @@\n \t\t\t\"amount\": self._amount\n \t\t}\n \n-\t\tpayload_signed = rsa.encrypt(dumps(payload).encode('utf-8'), self._wallet[1])\n+ payload_signed = rsa.encrypt(dumps(payload).encode('utf-8'), self._wallet[1])\n \t\tself._txn[\"payload\"] = hexlify(payload_signed)\n \t\tself._signed = True\n \n"
},
"id": 19619867346115915806583283718936803943,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 135
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 135
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -132,7 +132,7 @@\n \t\t}\n \n \t\tpayload_signed = rsa.encrypt(dumps(payload).encode('utf-8'), self._wallet[1])\n-\t\tself._txn[\"payload\"] = hexlify(payload_signed)\n+ self._txn[\"payload\"] = hexlify(payload_signed)\n \t\tself._signed = True\n \n \tdef json(self):\n"
},
"id": 250430851301274345437709026689038725932,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 136
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 136
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -133,7 +133,7 @@\n \n \t\tpayload_signed = rsa.encrypt(dumps(payload).encode('utf-8'), self._wallet[1])\n \t\tself._txn[\"payload\"] = hexlify(payload_signed)\n-\t\tself._signed = True\n+ self._signed = True\n \n \tdef json(self):\n \t\tif self._signed:\n"
},
"id": 186659006441157567925738459181153808683,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 138
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 138
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -135,7 +135,7 @@\n \t\tself._txn[\"payload\"] = hexlify(payload_signed)\n \t\tself._signed = True\n \n-\tdef json(self):\n+ def json(self):\n \t\tif self._signed:\n \t\t\treturn dumps(self._txn)\n \t\telse:\n"
},
"id": 338849219833607893164021072257962109488,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 139
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 139
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -136,7 +136,7 @@\n \t\tself._signed = True\n \n \tdef json(self):\n-\t\tif self._signed:\n+ if self._signed:\n \t\t\treturn dumps(self._txn)\n \t\telse:\n \t\t\traise SyntaxError(\"Requires Signing\")\n"
},
"id": 71281493632540148751288110007978606273,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 140
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 140
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -137,7 +137,7 @@\n \n \tdef json(self):\n \t\tif self._signed:\n-\t\t\treturn dumps(self._txn)\n+ return dumps(self._txn)\n \t\telse:\n \t\t\traise SyntaxError(\"Requires Signing\")\n \n"
},
"id": 165913227400113055821767945906466727162,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 141
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 141
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -138,7 +138,7 @@\n \tdef json(self):\n \t\tif self._signed:\n \t\t\treturn dumps(self._txn)\n-\t\telse:\n+ else:\n \t\t\traise SyntaxError(\"Requires Signing\")\n \n \tdef valid(self):\n"
},
"id": 34503337400342685605648311953552261037,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 142
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 142
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -139,7 +139,7 @@\n \t\tif self._signed:\n \t\t\treturn dumps(self._txn)\n \t\telse:\n-\t\t\traise SyntaxError(\"Requires Signing\")\n+ raise SyntaxError(\"Requires Signing\")\n \n \tdef valid(self):\n \t\treturn self._blockchain.calculateBalance(self._frm) >= self._amount\n"
},
"id": 167724183234842530938859868318241822821,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 144
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 144
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -141,7 +141,7 @@\n \t\telse:\n \t\t\traise SyntaxError(\"Requires Signing\")\n \n-\tdef valid(self):\n+ def valid(self):\n \t\treturn self._blockchain.calculateBalance(self._frm) >= self._amount\n \n \traw = property(lambda self: self._txn)\n"
},
"id": 133181597815258263053565537732309476566,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 145
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 145
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -142,7 +142,7 @@\n \t\t\traise SyntaxError(\"Requires Signing\")\n \n \tdef valid(self):\n-\t\treturn self._blockchain.calculateBalance(self._frm) >= self._amount\n+ return self._blockchain.calculateBalance(self._frm) >= self._amount\n \n \traw = property(lambda self: self._txn)\n \n"
},
"id": 229806451851677323329653783134930473673,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 147
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 147
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -144,7 +144,7 @@\n \tdef valid(self):\n \t\treturn self._blockchain.calculateBalance(self._frm) >= self._amount\n \n-\traw = property(lambda self: self._txn)\n+ raw = property(lambda self: self._txn)\n \n class MoGenTxn(Txn):\n \n"
},
"id": 76083536962566052579457280031052408052,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 151
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 151
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -148,7 +148,7 @@\n \n class MoGenTxn(Txn):\n \n-\tdef __init__(self, to):\n+ def __init__(self, to):\n \t\tself._to = to\n \t\tself._amount = 10\n \n"
},
"id": 150870911160964787035767327616970300678,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 152
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 152
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -149,7 +149,7 @@\n class MoGenTxn(Txn):\n \n \tdef __init__(self, to):\n-\t\tself._to = to\n+ self._to = to\n \t\tself._amount = 10\n \n \t\tself._txn = {\n"
},
"id": 28396720968367090329872095990081311354,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 153
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 153
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -150,7 +150,7 @@\n \n \tdef __init__(self, to):\n \t\tself._to = to\n-\t\tself._amount = 10\n+ self._amount = 10\n \n \t\tself._txn = {\n \t\t\t\"to\": self._to,\n"
},
"id": 278715562855958104425953462682494878498,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 155
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 155
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -152,7 +152,7 @@\n \t\tself._to = to\n \t\tself._amount = 10\n \n-\t\tself._txn = {\n+ self._txn = {\n \t\t\t\"to\": self._to,\n \t\t\t\"type\": \"mgo\",\n \t\t\t\"amount\": self._amount\n"
},
"id": 252502144653343969287932008891966747745,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 156
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 156
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -153,7 +153,7 @@\n \t\tself._amount = 10\n \n \t\tself._txn = {\n-\t\t\t\"to\": self._to,\n+ \"to\": self._to,\n \t\t\t\"type\": \"mgo\",\n \t\t\t\"amount\": self._amount\n \t\t}\n"
},
"id": 327789763103938030206073852394763053425,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 157
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 157
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -154,7 +154,7 @@\n \n \t\tself._txn = {\n \t\t\t\"to\": self._to,\n-\t\t\t\"type\": \"mgo\",\n+ \"type\": \"mgo\",\n \t\t\t\"amount\": self._amount\n \t\t}\n \n"
},
"id": 297796738305275304015290913501015354810,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 158
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 158
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -155,7 +155,7 @@\n \t\tself._txn = {\n \t\t\t\"to\": self._to,\n \t\t\t\"type\": \"mgo\",\n-\t\t\t\"amount\": self._amount\n+ \"amount\": self._amount\n \t\t}\n \n \tdef json(self):\n"
},
"id": 194144574662639682605608090430397419857,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 159
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 159
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -156,7 +156,7 @@\n \t\t\t\"to\": self._to,\n \t\t\t\"type\": \"mgo\",\n \t\t\t\"amount\": self._amount\n-\t\t}\n+ }\n \n \tdef json(self):\n \t\treturn dumps(self._txn)\n"
},
"id": 336435647152124054833461078353457907545,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 161
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 161
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -158,7 +158,7 @@\n \t\t\t\"amount\": self._amount\n \t\t}\n \n-\tdef json(self):\n+ def json(self):\n \t\treturn dumps(self._txn)\n \n \tdef valid(self):\n"
},
"id": 139640138910618484375980058170233425897,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 162
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 162
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -159,7 +159,7 @@\n \t\t}\n \n \tdef json(self):\n-\t\treturn dumps(self._txn)\n+ return dumps(self._txn)\n \n \tdef valid(self):\n \t\treturn True\n"
},
"id": 51495134816911141799718235559973237108,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 164
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 164
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -161,5 +161,5 @@\n \tdef json(self):\n \t\treturn dumps(self._txn)\n \n-\tdef valid(self):\n+ def valid(self):\n \t\treturn True\n"
},
"id": 312886593337751406760246872739765285497,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 165
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/txns.py",
"line": 165
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/txns.py": "--- \n+++ \n@@ -162,4 +162,4 @@\n \t\treturn dumps(self._txn)\n \n \tdef valid(self):\n-\t\treturn True\n+ return True\n"
},
"id": 333208091365259124962232446168238014088,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksmde\n+ @author ksmde\n \tthe wallet keys generator for the\n \tgiven app kind of stuff!\n \"\"\"\n"
},
"id": 205080605923171779392759094180188652861,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksmde\n-\tthe wallet keys generator for the\n+ the wallet keys generator for the\n \tgiven app kind of stuff!\n \"\"\"\n \n"
},
"id": 274882209217685146221889246930661457494,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 4
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 4
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -1,7 +1,7 @@\n \"\"\"\n \t@author ksmde\n \tthe wallet keys generator for the\n-\tgiven app kind of stuff!\n+ given app kind of stuff!\n \"\"\"\n \n # the siginging mechanism\n"
},
"id": 185931762310816668562234950136432917716,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 20
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 20
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -17,7 +17,7 @@\n \n class Wallet(object):\n \n-\t@staticmethod\n+ @staticmethod\n \tdef new():\n \t\treturn newkeys(WalletConf.KEY_PAIR_SIZE, poolsize=2)\n \n"
},
"id": 313805977816128858561151904902179190891,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 21
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 21
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -18,7 +18,7 @@\n class Wallet(object):\n \n \t@staticmethod\n-\tdef new():\n+ def new():\n \t\treturn newkeys(WalletConf.KEY_PAIR_SIZE, poolsize=2)\n \n \t@staticmethod\n"
},
"id": 245680714429003144525671033722074784655,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 22
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 22
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -19,7 +19,7 @@\n \n \t@staticmethod\n \tdef new():\n-\t\treturn newkeys(WalletConf.KEY_PAIR_SIZE, poolsize=2)\n+ return newkeys(WalletConf.KEY_PAIR_SIZE, poolsize=2)\n \n \t@staticmethod\n \tdef getPublicKey(wallet):\n"
},
"id": 270114813330837953686502034109773095171,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 24
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 24
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -21,7 +21,7 @@\n \tdef new():\n \t\treturn newkeys(WalletConf.KEY_PAIR_SIZE, poolsize=2)\n \n-\t@staticmethod\n+ @staticmethod\n \tdef getPublicKey(wallet):\n \t\t\"\"\"\n \t\t\ttakes a wallet and generates your\n"
},
"id": 202603117862773549751595103981486111229,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 25
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 25
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -22,7 +22,7 @@\n \t\treturn newkeys(WalletConf.KEY_PAIR_SIZE, poolsize=2)\n \n \t@staticmethod\n-\tdef getPublicKey(wallet):\n+ def getPublicKey(wallet):\n \t\t\"\"\"\n \t\t\ttakes a wallet and generates your\n \t\t\tpublic alphanumeric key\n"
},
"id": 34387060357327748976462440153046053246,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 26
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 26
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -23,7 +23,7 @@\n \n \t@staticmethod\n \tdef getPublicKey(wallet):\n-\t\t\"\"\"\n+ \"\"\"\n \t\t\ttakes a wallet and generates your\n \t\t\tpublic alphanumeric key\n \t\t\"\"\"\n"
},
"id": 233520815499647888173253779411233954620,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 27
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 27
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -24,7 +24,7 @@\n \t@staticmethod\n \tdef getPublicKey(wallet):\n \t\t\"\"\"\n-\t\t\ttakes a wallet and generates your\n+ takes a wallet and generates your\n \t\t\tpublic alphanumeric key\n \t\t\"\"\"\n \n"
},
"id": 328363415627913940815571960584051155566,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 28
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 28
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -25,7 +25,7 @@\n \tdef getPublicKey(wallet):\n \t\t\"\"\"\n \t\t\ttakes a wallet and generates your\n-\t\t\tpublic alphanumeric key\n+ public alphanumeric key\n \t\t\"\"\"\n \n \t\tpub_key = str(wallet[0].n)\n"
},
"id": 13961737016871774337795685816067910309,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 29
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 29
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -26,7 +26,7 @@\n \t\t\"\"\"\n \t\t\ttakes a wallet and generates your\n \t\t\tpublic alphanumeric key\n-\t\t\"\"\"\n+ \"\"\"\n \n \t\tpub_key = str(wallet[0].n)\n \t\treturn transform_pub_key_to_alpha(pub_key)\n"
},
"id": 44807700932722536764691327933829068954,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 31
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 31
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -28,7 +28,7 @@\n \t\t\tpublic alphanumeric key\n \t\t\"\"\"\n \n-\t\tpub_key = str(wallet[0].n)\n+ pub_key = str(wallet[0].n)\n \t\treturn transform_pub_key_to_alpha(pub_key)\n \n \t@staticmethod\n"
},
"id": 6892197397110518642644930959121783361,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 32
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 32
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -29,7 +29,7 @@\n \t\t\"\"\"\n \n \t\tpub_key = str(wallet[0].n)\n-\t\treturn transform_pub_key_to_alpha(pub_key)\n+ return transform_pub_key_to_alpha(pub_key)\n \n \t@staticmethod\n \tdef reconstructPublicKey(key):\n"
},
"id": 304073654743509815391474141614949265486,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 34
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 34
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -31,7 +31,7 @@\n \t\tpub_key = str(wallet[0].n)\n \t\treturn transform_pub_key_to_alpha(pub_key)\n \n-\t@staticmethod\n+ @staticmethod\n \tdef reconstructPublicKey(key):\n \t\treturn PublicKey(int(transform_alpha_to_pub_key(key)), 65537)\n \n"
},
"id": 214869818536838883585076760954996668320,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 35
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 35
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -32,7 +32,7 @@\n \t\treturn transform_pub_key_to_alpha(pub_key)\n \n \t@staticmethod\n-\tdef reconstructPublicKey(key):\n+ def reconstructPublicKey(key):\n \t\treturn PublicKey(int(transform_alpha_to_pub_key(key)), 65537)\n \n \t@staticmethod\n"
},
"id": 85140490793873001464577174352405742359,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 36
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 36
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -33,7 +33,7 @@\n \n \t@staticmethod\n \tdef reconstructPublicKey(key):\n-\t\treturn PublicKey(int(transform_alpha_to_pub_key(key)), 65537)\n+ return PublicKey(int(transform_alpha_to_pub_key(key)), 65537)\n \n \t@staticmethod\n \tdef loadWallet(uri):\n"
},
"id": 326772678403281957706839118213456736356,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 38
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 38
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -35,7 +35,7 @@\n \tdef reconstructPublicKey(key):\n \t\treturn PublicKey(int(transform_alpha_to_pub_key(key)), 65537)\n \n-\t@staticmethod\n+ @staticmethod\n \tdef loadWallet(uri):\n \t\t\"\"\"\n \t\t\tloads a wallet from a public key file\n"
},
"id": 177909410148582471124813513840616884792,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 39
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 39
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -36,7 +36,7 @@\n \t\treturn PublicKey(int(transform_alpha_to_pub_key(key)), 65537)\n \n \t@staticmethod\n-\tdef loadWallet(uri):\n+ def loadWallet(uri):\n \t\t\"\"\"\n \t\t\tloads a wallet from a public key file\n \t\t\tand a private key file\n"
},
"id": 150005383996512387099599281615690765789,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 40
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 40
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -37,7 +37,7 @@\n \n \t@staticmethod\n \tdef loadWallet(uri):\n-\t\t\"\"\"\n+ \"\"\"\n \t\t\tloads a wallet from a public key file\n \t\t\tand a private key file\n \t\t\"\"\"\n"
},
"id": 282948491777165767361630956661286930480,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 41
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 41
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -38,7 +38,7 @@\n \t@staticmethod\n \tdef loadWallet(uri):\n \t\t\"\"\"\n-\t\t\tloads a wallet from a public key file\n+ loads a wallet from a public key file\n \t\t\tand a private key file\n \t\t\"\"\"\n \t\tassert not isdir(uri)\n"
},
"id": 217267327750106200217611866166029003804,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 42
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 42
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -39,7 +39,7 @@\n \tdef loadWallet(uri):\n \t\t\"\"\"\n \t\t\tloads a wallet from a public key file\n-\t\t\tand a private key file\n+ and a private key file\n \t\t\"\"\"\n \t\tassert not isdir(uri)\n \n"
},
"id": 106237740064013806986978428132125794445,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 43
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 43
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -40,7 +40,7 @@\n \t\t\"\"\"\n \t\t\tloads a wallet from a public key file\n \t\t\tand a private key file\n-\t\t\"\"\"\n+ \"\"\"\n \t\tassert not isdir(uri)\n \n \t\twith ZipFile(uri, \"r\") as walletfile:\n"
},
"id": 260339373631515188523199223716598866749,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 44
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 44
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -41,7 +41,7 @@\n \t\t\tloads a wallet from a public key file\n \t\t\tand a private key file\n \t\t\"\"\"\n-\t\tassert not isdir(uri)\n+ assert not isdir(uri)\n \n \t\twith ZipFile(uri, \"r\") as walletfile:\n \t\t\tpub_key = (PublicKey.load_pkcs1(walletfile.read(\n"
},
"id": 134291032489805996100832338540158656705,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 46
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 46
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -43,7 +43,7 @@\n \t\t\"\"\"\n \t\tassert not isdir(uri)\n \n-\t\twith ZipFile(uri, \"r\") as walletfile:\n+ with ZipFile(uri, \"r\") as walletfile:\n \t\t\tpub_key = (PublicKey.load_pkcs1(walletfile.read(\n \t\t\t\tWalletConf.PUBLIC_KEY_FILE_NAME)))\n \n"
},
"id": 258412123488797647544932065600348058685,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 47
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 47
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -44,7 +44,7 @@\n \t\tassert not isdir(uri)\n \n \t\twith ZipFile(uri, \"r\") as walletfile:\n-\t\t\tpub_key = (PublicKey.load_pkcs1(walletfile.read(\n+ pub_key = (PublicKey.load_pkcs1(walletfile.read(\n \t\t\t\tWalletConf.PUBLIC_KEY_FILE_NAME)))\n \n \t\t\tpriv_key = PrivateKey.load_pkcs1(walletfile.read(\n"
},
"id": 81551880604347177287546936545310976217,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 48
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 48
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -45,7 +45,7 @@\n \n \t\twith ZipFile(uri, \"r\") as walletfile:\n \t\t\tpub_key = (PublicKey.load_pkcs1(walletfile.read(\n-\t\t\t\tWalletConf.PUBLIC_KEY_FILE_NAME)))\n+ WalletConf.PUBLIC_KEY_FILE_NAME)))\n \n \t\t\tpriv_key = PrivateKey.load_pkcs1(walletfile.read(\n \t\t\t\tWalletConf.PRIVATE_KEY_FILE_NAME))\n"
},
"id": 280582449014634789546244647071655142404,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 50
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 50
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -47,7 +47,7 @@\n \t\t\tpub_key = (PublicKey.load_pkcs1(walletfile.read(\n \t\t\t\tWalletConf.PUBLIC_KEY_FILE_NAME)))\n \n-\t\t\tpriv_key = PrivateKey.load_pkcs1(walletfile.read(\n+ priv_key = PrivateKey.load_pkcs1(walletfile.read(\n \t\t\t\tWalletConf.PRIVATE_KEY_FILE_NAME))\n \n \t\treturn pub_key, priv_key\n"
},
"id": 314631025758152825957666636792750089835,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 51
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 51
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -48,7 +48,7 @@\n \t\t\t\tWalletConf.PUBLIC_KEY_FILE_NAME)))\n \n \t\t\tpriv_key = PrivateKey.load_pkcs1(walletfile.read(\n-\t\t\t\tWalletConf.PRIVATE_KEY_FILE_NAME))\n+ WalletConf.PRIVATE_KEY_FILE_NAME))\n \n \t\treturn pub_key, priv_key\n \n"
},
"id": 29431671793555986673371486664171032421,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 53
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 53
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -50,7 +50,7 @@\n \t\t\tpriv_key = PrivateKey.load_pkcs1(walletfile.read(\n \t\t\t\tWalletConf.PRIVATE_KEY_FILE_NAME))\n \n-\t\treturn pub_key, priv_key\n+ return pub_key, priv_key\n \n \t@staticmethod\n \tdef saveWallet(key_pair, save_to):\n"
},
"id": 318884906308145102371178579993038115511,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 55
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 55
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -52,7 +52,7 @@\n \n \t\treturn pub_key, priv_key\n \n-\t@staticmethod\n+ @staticmethod\n \tdef saveWallet(key_pair, save_to):\n \t\t\"\"\"\n \t\t\tsaves a given wallet key pair to\n"
},
"id": 281580383511977808866825625343289799372,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 56
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 56
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -53,7 +53,7 @@\n \t\treturn pub_key, priv_key\n \n \t@staticmethod\n-\tdef saveWallet(key_pair, save_to):\n+ def saveWallet(key_pair, save_to):\n \t\t\"\"\"\n \t\t\tsaves a given wallet key pair to\n \t\t\ta given directory, in pem format\n"
},
"id": 96797627764285033560707072645988128783,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 57
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 57
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -54,7 +54,7 @@\n \n \t@staticmethod\n \tdef saveWallet(key_pair, save_to):\n-\t\t\"\"\"\n+ \"\"\"\n \t\t\tsaves a given wallet key pair to\n \t\t\ta given directory, in pem format\n \t\t\"\"\"\n"
},
"id": 69687839935541191488612408643007861824,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 58
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 58
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -55,7 +55,7 @@\n \t@staticmethod\n \tdef saveWallet(key_pair, save_to):\n \t\t\"\"\"\n-\t\t\tsaves a given wallet key pair to\n+ saves a given wallet key pair to\n \t\t\ta given directory, in pem format\n \t\t\"\"\"\n \t\tif isdir(save_to):\n"
},
"id": 173421742837715682193196805096030705270,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 59
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 59
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -56,7 +56,7 @@\n \tdef saveWallet(key_pair, save_to):\n \t\t\"\"\"\n \t\t\tsaves a given wallet key pair to\n-\t\t\ta given directory, in pem format\n+ a given directory, in pem format\n \t\t\"\"\"\n \t\tif isdir(save_to):\n \t\t\tsave_to = join(save_to, \"toycoin\")\n"
},
"id": 116397367744059655090023680690549986114,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 60
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 60
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -57,7 +57,7 @@\n \t\t\"\"\"\n \t\t\tsaves a given wallet key pair to\n \t\t\ta given directory, in pem format\n-\t\t\"\"\"\n+ \"\"\"\n \t\tif isdir(save_to):\n \t\t\tsave_to = join(save_to, \"toycoin\")\n \n"
},
"id": 331034633324059289769802501529034655309,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 61
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 61
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -58,7 +58,7 @@\n \t\t\tsaves a given wallet key pair to\n \t\t\ta given directory, in pem format\n \t\t\"\"\"\n-\t\tif isdir(save_to):\n+ if isdir(save_to):\n \t\t\tsave_to = join(save_to, \"toycoin\")\n \n \t\tpub_key, priv_key = key_pair\n"
},
"id": 120915631720120145999152061471294738329,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 62
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 62
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -59,7 +59,7 @@\n \t\t\ta given directory, in pem format\n \t\t\"\"\"\n \t\tif isdir(save_to):\n-\t\t\tsave_to = join(save_to, \"toycoin\")\n+ save_to = join(save_to, \"toycoin\")\n \n \t\tpub_key, priv_key = key_pair\n \t\tsave_to = save_to+WalletConf.WALLET_FILE_EXTENSION\n"
},
"id": 116493638677593980229753881997896197385,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 64
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 64
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -61,7 +61,7 @@\n \t\tif isdir(save_to):\n \t\t\tsave_to = join(save_to, \"toycoin\")\n \n-\t\tpub_key, priv_key = key_pair\n+ pub_key, priv_key = key_pair\n \t\tsave_to = save_to+WalletConf.WALLET_FILE_EXTENSION\n \t\twith ZipFile(save_to, \"w\", ZIP_STORED) as walletfile:\n \n"
},
"id": 314703723200783174431169000482939608677,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 65
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 65
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -62,7 +62,7 @@\n \t\t\tsave_to = join(save_to, \"toycoin\")\n \n \t\tpub_key, priv_key = key_pair\n-\t\tsave_to = save_to+WalletConf.WALLET_FILE_EXTENSION\n+ save_to = save_to+WalletConf.WALLET_FILE_EXTENSION\n \t\twith ZipFile(save_to, \"w\", ZIP_STORED) as walletfile:\n \n \t\t\tbinary_data = StringIO(pub_key.save_pkcs1(format=\"PEM\")).getvalue()\n"
},
"id": 194978044162804933244573651685230737710,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 66
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 66
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -63,7 +63,7 @@\n \n \t\tpub_key, priv_key = key_pair\n \t\tsave_to = save_to+WalletConf.WALLET_FILE_EXTENSION\n-\t\twith ZipFile(save_to, \"w\", ZIP_STORED) as walletfile:\n+ with ZipFile(save_to, \"w\", ZIP_STORED) as walletfile:\n \n \t\t\tbinary_data = StringIO(pub_key.save_pkcs1(format=\"PEM\")).getvalue()\n \t\t\twalletfile.writestr(WalletConf.PUBLIC_KEY_FILE_NAME, binary_data)\n"
},
"id": 152867348888554977247071443098083048913,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 68
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 68
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -65,7 +65,7 @@\n \t\tsave_to = save_to+WalletConf.WALLET_FILE_EXTENSION\n \t\twith ZipFile(save_to, \"w\", ZIP_STORED) as walletfile:\n \n-\t\t\tbinary_data = StringIO(pub_key.save_pkcs1(format=\"PEM\")).getvalue()\n+ binary_data = StringIO(pub_key.save_pkcs1(format=\"PEM\")).getvalue()\n \t\t\twalletfile.writestr(WalletConf.PUBLIC_KEY_FILE_NAME, binary_data)\n \n \t\t\tbinary_data = StringIO(priv_key.save_pkcs1(format=\"PEM\")).getvalue()\n"
},
"id": 281230945125235587770866100107064666378,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 69
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 69
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -66,7 +66,7 @@\n \t\twith ZipFile(save_to, \"w\", ZIP_STORED) as walletfile:\n \n \t\t\tbinary_data = StringIO(pub_key.save_pkcs1(format=\"PEM\")).getvalue()\n-\t\t\twalletfile.writestr(WalletConf.PUBLIC_KEY_FILE_NAME, binary_data)\n+ walletfile.writestr(WalletConf.PUBLIC_KEY_FILE_NAME, binary_data)\n \n \t\t\tbinary_data = StringIO(priv_key.save_pkcs1(format=\"PEM\")).getvalue()\n \t\t\twalletfile.writestr(WalletConf.PRIVATE_KEY_FILE_NAME, binary_data)\n"
},
"id": 211482170594016287377249138090154003012,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 71
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 71
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -68,7 +68,7 @@\n \t\t\tbinary_data = StringIO(pub_key.save_pkcs1(format=\"PEM\")).getvalue()\n \t\t\twalletfile.writestr(WalletConf.PUBLIC_KEY_FILE_NAME, binary_data)\n \n-\t\t\tbinary_data = StringIO(priv_key.save_pkcs1(format=\"PEM\")).getvalue()\n+ binary_data = StringIO(priv_key.save_pkcs1(format=\"PEM\")).getvalue()\n \t\t\twalletfile.writestr(WalletConf.PRIVATE_KEY_FILE_NAME, binary_data)\n \n class Identity(Wallet):\n"
},
"id": 257476911817283295381263482614907379975,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 72
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 72
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -69,7 +69,7 @@\n \t\t\twalletfile.writestr(WalletConf.PUBLIC_KEY_FILE_NAME, binary_data)\n \n \t\t\tbinary_data = StringIO(priv_key.save_pkcs1(format=\"PEM\")).getvalue()\n-\t\t\twalletfile.writestr(WalletConf.PRIVATE_KEY_FILE_NAME, binary_data)\n+ walletfile.writestr(WalletConf.PRIVATE_KEY_FILE_NAME, binary_data)\n \n class Identity(Wallet):\n \t\"\"\"\n"
},
"id": 117632720973852016778098608928686725587,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 75
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 75
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -72,7 +72,7 @@\n \t\t\twalletfile.writestr(WalletConf.PRIVATE_KEY_FILE_NAME, binary_data)\n \n class Identity(Wallet):\n-\t\"\"\"\n+ \"\"\"\n \t\tsimple namespace duplication,\n \t\tI think it would be neat to have\n \t\tdifferent classes for different roles\n"
},
"id": 303719153376737026843023991240217660736,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 76
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 76
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -73,7 +73,7 @@\n \n class Identity(Wallet):\n \t\"\"\"\n-\t\tsimple namespace duplication,\n+ simple namespace duplication,\n \t\tI think it would be neat to have\n \t\tdifferent classes for different roles\n \t\"\"\"\n"
},
"id": 138392193296313124149099072496002894464,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 77
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 77
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -74,7 +74,7 @@\n class Identity(Wallet):\n \t\"\"\"\n \t\tsimple namespace duplication,\n-\t\tI think it would be neat to have\n+ I think it would be neat to have\n \t\tdifferent classes for different roles\n \t\"\"\"\n \tpass\n"
},
"id": 175203339114941680453957038983143713789,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 78
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 78
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -75,7 +75,7 @@\n \t\"\"\"\n \t\tsimple namespace duplication,\n \t\tI think it would be neat to have\n-\t\tdifferent classes for different roles\n+ different classes for different roles\n \t\"\"\"\n \tpass\n \n"
},
"id": 146640136590096037657502647198069011391,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 79
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 79
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -76,7 +76,7 @@\n \t\tsimple namespace duplication,\n \t\tI think it would be neat to have\n \t\tdifferent classes for different roles\n-\t\"\"\"\n+ \"\"\"\n \tpass\n \n if __name__ == \"__main__\":\n"
},
"id": 264405423624468054549616903261012343419,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 80
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 80
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -77,7 +77,7 @@\n \t\tI think it would be neat to have\n \t\tdifferent classes for different roles\n \t\"\"\"\n-\tpass\n+ pass\n \n if __name__ == \"__main__\":\n \tnewWallet = Wallet.new()\n"
},
"id": 292596106086232308427116827088000231094,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 83
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 83
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -80,7 +80,7 @@\n \tpass\n \n if __name__ == \"__main__\":\n-\tnewWallet = Wallet.new()\n+ newWallet = Wallet.new()\n \tWallet.saveWallet(newWallet, \"sample\")\n \tloaded = Wallet.loadWallet(\"sample.wallet\")\n \tprint Wallet.getPublicKey(loaded)\n"
},
"id": 19618031601549405806908089973755208187,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 84
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 84
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -81,7 +81,7 @@\n \n if __name__ == \"__main__\":\n \tnewWallet = Wallet.new()\n-\tWallet.saveWallet(newWallet, \"sample\")\n+ Wallet.saveWallet(newWallet, \"sample\")\n \tloaded = Wallet.loadWallet(\"sample.wallet\")\n \tprint Wallet.getPublicKey(loaded)\n \tprint loaded\n"
},
"id": 53946782573770227912160915694953605909,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 85
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 85
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -82,6 +82,6 @@\n if __name__ == \"__main__\":\n \tnewWallet = Wallet.new()\n \tWallet.saveWallet(newWallet, \"sample\")\n-\tloaded = Wallet.loadWallet(\"sample.wallet\")\n+ loaded = Wallet.loadWallet(\"sample.wallet\")\n \tprint Wallet.getPublicKey(loaded)\n \tprint loaded\n"
},
"id": 218833286905267114382533876215366966775,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 86
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 86
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -83,5 +83,5 @@\n \tnewWallet = Wallet.new()\n \tWallet.saveWallet(newWallet, \"sample\")\n \tloaded = Wallet.loadWallet(\"sample.wallet\")\n-\tprint Wallet.getPublicKey(loaded)\n+ print Wallet.getPublicKey(loaded)\n \tprint loaded\n"
},
"id": 213801868805097086661690855784347768955,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 87
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/wallet.py",
"line": 87
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/wallet.py": "--- \n+++ \n@@ -84,4 +84,4 @@\n \tWallet.saveWallet(newWallet, \"sample\")\n \tloaded = Wallet.loadWallet(\"sample.wallet\")\n \tprint Wallet.getPublicKey(loaded)\n-\tprint loaded\n+ print loaded\n"
},
"id": 89987383137363406957534590725063038015,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 2
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 2
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -1,5 +1,5 @@\n \"\"\"\n-\t@author ksdme\n+ @author ksdme\n \tthe basic linear block chain model\n \tdoesn't support forks or multiple simul\n \ttaneous transactions\n"
},
"id": 233789609345140372835322790162077002042,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 3
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 3
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -1,6 +1,6 @@\n \"\"\"\n \t@author ksdme\n-\tthe basic linear block chain model\n+ the basic linear block chain model\n \tdoesn't support forks or multiple simul\n \ttaneous transactions\n \"\"\"\n"
},
"id": 73506484923625300423368194113870085885,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 4
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 4
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -1,7 +1,7 @@\n \"\"\"\n \t@author ksdme\n \tthe basic linear block chain model\n-\tdoesn't support forks or multiple simul\n+ doesn't support forks or multiple simul\n \ttaneous transactions\n \"\"\"\n import rsa\n"
},
"id": 40783971362926045087048737238468845189,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 5
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 5
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -2,7 +2,7 @@\n \t@author ksdme\n \tthe basic linear block chain model\n \tdoesn't support forks or multiple simul\n-\ttaneous transactions\n+ taneous transactions\n \"\"\"\n import rsa\n from utils import *\n"
},
"id": 209516865546420329408596255687060717417,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 18
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 18
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -15,7 +15,7 @@\n \n class Block(object):\n \n-\t@staticmethod\n+ @staticmethod\n \tdef load(block):\n \t\tloaded = loads(block)\n \t\treturn Block(\n"
},
"id": 55681755747455501262719979875408389429,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 19
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 19
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -16,7 +16,7 @@\n class Block(object):\n \n \t@staticmethod\n-\tdef load(block):\n+ def load(block):\n \t\tloaded = loads(block)\n \t\treturn Block(\n \t\t\tloaded[\"prev\"],\n"
},
"id": 301772846117316311278513603734023714295,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 20
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 20
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -17,7 +17,7 @@\n \n \t@staticmethod\n \tdef load(block):\n-\t\tloaded = loads(block)\n+ loaded = loads(block)\n \t\treturn Block(\n \t\t\tloaded[\"prev\"],\n \t\t\tloaded[\"difficulty\"],\n"
},
"id": 165347626817634419109146437041092018484,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 21
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 21
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -18,7 +18,7 @@\n \t@staticmethod\n \tdef load(block):\n \t\tloaded = loads(block)\n-\t\treturn Block(\n+ return Block(\n \t\t\tloaded[\"prev\"],\n \t\t\tloaded[\"difficulty\"],\n \t\t\tloaded[\"txns\"],\n"
},
"id": 22559695569378449706272141867446693865,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 22
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 22
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -19,7 +19,7 @@\n \tdef load(block):\n \t\tloaded = loads(block)\n \t\treturn Block(\n-\t\t\tloaded[\"prev\"],\n+ loaded[\"prev\"],\n \t\t\tloaded[\"difficulty\"],\n \t\t\tloaded[\"txns\"],\n \t\t\tloaded[\"nonce\"],\n"
},
"id": 40317290604141614498523737093660278455,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 23
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 23
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -20,7 +20,7 @@\n \t\tloaded = loads(block)\n \t\treturn Block(\n \t\t\tloaded[\"prev\"],\n-\t\t\tloaded[\"difficulty\"],\n+ loaded[\"difficulty\"],\n \t\t\tloaded[\"txns\"],\n \t\t\tloaded[\"nonce\"],\n \t\t\tloaded[\"at\"])\n"
},
"id": 12490648368840890537946185649971180529,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 24
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 24
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -21,7 +21,7 @@\n \t\treturn Block(\n \t\t\tloaded[\"prev\"],\n \t\t\tloaded[\"difficulty\"],\n-\t\t\tloaded[\"txns\"],\n+ loaded[\"txns\"],\n \t\t\tloaded[\"nonce\"],\n \t\t\tloaded[\"at\"])\n \n"
},
"id": 171234115256395846105987771671135540942,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 25
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 25
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -22,7 +22,7 @@\n \t\t\tloaded[\"prev\"],\n \t\t\tloaded[\"difficulty\"],\n \t\t\tloaded[\"txns\"],\n-\t\t\tloaded[\"nonce\"],\n+ loaded[\"nonce\"],\n \t\t\tloaded[\"at\"])\n \n \tdef __init__(self, prev, difficulty, txns, nonce=None, time=None):\n"
},
"id": 224916529317020818998719244102904387062,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 26
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 26
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -23,7 +23,7 @@\n \t\t\tloaded[\"difficulty\"],\n \t\t\tloaded[\"txns\"],\n \t\t\tloaded[\"nonce\"],\n-\t\t\tloaded[\"at\"])\n+ loaded[\"at\"])\n \n \tdef __init__(self, prev, difficulty, txns, nonce=None, time=None):\n \t\tassert isinstance(txns, list)\n"
},
"id": 255336946236193785163056387716419095696,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 28
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 28
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -25,7 +25,7 @@\n \t\t\tloaded[\"nonce\"],\n \t\t\tloaded[\"at\"])\n \n-\tdef __init__(self, prev, difficulty, txns, nonce=None, time=None):\n+ def __init__(self, prev, difficulty, txns, nonce=None, time=None):\n \t\tassert isinstance(txns, list)\n \t\tassert isValidHash(prev)\n \n"
},
"id": 152958439651448224643820080784185475697,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 29
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 29
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -26,7 +26,7 @@\n \t\t\tloaded[\"at\"])\n \n \tdef __init__(self, prev, difficulty, txns, nonce=None, time=None):\n-\t\tassert isinstance(txns, list)\n+ assert isinstance(txns, list)\n \t\tassert isValidHash(prev)\n \n \t\tself._txns = txns\n"
},
"id": 60497876317456885110879976218637527885,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 30
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 30
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -27,7 +27,7 @@\n \n \tdef __init__(self, prev, difficulty, txns, nonce=None, time=None):\n \t\tassert isinstance(txns, list)\n-\t\tassert isValidHash(prev)\n+ assert isValidHash(prev)\n \n \t\tself._txns = txns\n \t\tself._prev = prev\n"
},
"id": 270098123006954045464734519054409913381,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 32
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 32
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -29,7 +29,7 @@\n \t\tassert isinstance(txns, list)\n \t\tassert isValidHash(prev)\n \n-\t\tself._txns = txns\n+ self._txns = txns\n \t\tself._prev = prev\n \t\tself._time = int(timeStamp()*1000)\n \t\tself._nonce = \"\"\n"
},
"id": 327868680636823016168159522758593126116,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 33
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 33
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -30,7 +30,7 @@\n \t\tassert isValidHash(prev)\n \n \t\tself._txns = txns\n-\t\tself._prev = prev\n+ self._prev = prev\n \t\tself._time = int(timeStamp()*1000)\n \t\tself._nonce = \"\"\n \t\tself._difficulty = int(difficulty)\n"
},
"id": 160124998776794022498116958567941193214,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 34
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 34
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -31,7 +31,7 @@\n \n \t\tself._txns = txns\n \t\tself._prev = prev\n-\t\tself._time = int(timeStamp()*1000)\n+ self._time = int(timeStamp()*1000)\n \t\tself._nonce = \"\"\n \t\tself._difficulty = int(difficulty)\n \n"
},
"id": 242819417496109547469180431824917260739,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 35
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 35
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -32,7 +32,7 @@\n \t\tself._txns = txns\n \t\tself._prev = prev\n \t\tself._time = int(timeStamp()*1000)\n-\t\tself._nonce = \"\"\n+ self._nonce = \"\"\n \t\tself._difficulty = int(difficulty)\n \n \t\tif nonce is not None:\n"
},
"id": 194038579580328204376790827723048087767,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 36
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 36
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -33,7 +33,7 @@\n \t\tself._prev = prev\n \t\tself._time = int(timeStamp()*1000)\n \t\tself._nonce = \"\"\n-\t\tself._difficulty = int(difficulty)\n+ self._difficulty = int(difficulty)\n \n \t\tif nonce is not None:\n \t\t\tself._nonce = str(nonce)\n"
},
"id": 42896120116544172586227017553501977315,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 38
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 38
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -35,7 +35,7 @@\n \t\tself._nonce = \"\"\n \t\tself._difficulty = int(difficulty)\n \n-\t\tif nonce is not None:\n+ if nonce is not None:\n \t\t\tself._nonce = str(nonce)\n \n \t\tif time is not None:\n"
},
"id": 150265706866115711481321345433027454711,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 39
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 39
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -36,7 +36,7 @@\n \t\tself._difficulty = int(difficulty)\n \n \t\tif nonce is not None:\n-\t\t\tself._nonce = str(nonce)\n+ self._nonce = str(nonce)\n \n \t\tif time is not None:\n \t\t\tassert isinstance(time, int)\n"
},
"id": 153537023934696655990376737614787461339,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 41
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 41
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -38,7 +38,7 @@\n \t\tif nonce is not None:\n \t\t\tself._nonce = str(nonce)\n \n-\t\tif time is not None:\n+ if time is not None:\n \t\t\tassert isinstance(time, int)\n \t\t\tself._time = int(time)\n \n"
},
"id": 145095819303382383543961858022255903056,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 42
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 42
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -39,7 +39,7 @@\n \t\t\tself._nonce = str(nonce)\n \n \t\tif time is not None:\n-\t\t\tassert isinstance(time, int)\n+ assert isinstance(time, int)\n \t\t\tself._time = int(time)\n \n \t\ttry:\n"
},
"id": 307908098177474633539497191516449763046,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 43
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 43
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -40,7 +40,7 @@\n \n \t\tif time is not None:\n \t\t\tassert isinstance(time, int)\n-\t\t\tself._time = int(time)\n+ self._time = int(time)\n \n \t\ttry:\n \t\t\tself._txns = map(lambda l: l.json(), self._txns)\n"
},
"id": 35796952098234853772044406518746140743,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 45
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 45
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -42,7 +42,7 @@\n \t\t\tassert isinstance(time, int)\n \t\t\tself._time = int(time)\n \n-\t\ttry:\n+ try:\n \t\t\tself._txns = map(lambda l: l.json(), self._txns)\n \t\texcept AttributeError:\n \t\t\tself._txns = map(loads, self._txns)\n"
},
"id": 285575991413764945931731316368834031827,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 46
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 46
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -43,7 +43,7 @@\n \t\t\tself._time = int(time)\n \n \t\ttry:\n-\t\t\tself._txns = map(lambda l: l.json(), self._txns)\n+ self._txns = map(lambda l: l.json(), self._txns)\n \t\texcept AttributeError:\n \t\t\tself._txns = map(loads, self._txns)\n \n"
},
"id": 110318262104395423832985441005740241618,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 47
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 47
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -44,7 +44,7 @@\n \n \t\ttry:\n \t\t\tself._txns = map(lambda l: l.json(), self._txns)\n-\t\texcept AttributeError:\n+ except AttributeError:\n \t\t\tself._txns = map(loads, self._txns)\n \n \t\tself._block = {\n"
},
"id": 153179412513295046894138236746690989028,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 48
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 48
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -45,7 +45,7 @@\n \t\ttry:\n \t\t\tself._txns = map(lambda l: l.json(), self._txns)\n \t\texcept AttributeError:\n-\t\t\tself._txns = map(loads, self._txns)\n+ self._txns = map(loads, self._txns)\n \n \t\tself._block = {\n \t\t\t\"at\": self._time,\n"
},
"id": 285831776560137029659346860632648853657,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 50
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 50
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -47,7 +47,7 @@\n \t\texcept AttributeError:\n \t\t\tself._txns = map(loads, self._txns)\n \n-\t\tself._block = {\n+ self._block = {\n \t\t\t\"at\": self._time,\n \t\t\t\"prev\": self._prev,\n \t\t\t\"txns\": self._txns,\n"
},
"id": 158082729250136471598629238097404289090,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 51
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 51
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -48,7 +48,7 @@\n \t\t\tself._txns = map(loads, self._txns)\n \n \t\tself._block = {\n-\t\t\t\"at\": self._time,\n+ \"at\": self._time,\n \t\t\t\"prev\": self._prev,\n \t\t\t\"txns\": self._txns,\n \t\t\t\"difficulty\": self._difficulty\n"
},
"id": 97176073003389256123203175536517327594,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 52
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 52
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -49,7 +49,7 @@\n \n \t\tself._block = {\n \t\t\t\"at\": self._time,\n-\t\t\t\"prev\": self._prev,\n+ \"prev\": self._prev,\n \t\t\t\"txns\": self._txns,\n \t\t\t\"difficulty\": self._difficulty\n \t\t}\n"
},
"id": 12090469711601391014712607323459547171,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 53
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 53
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -50,7 +50,7 @@\n \t\tself._block = {\n \t\t\t\"at\": self._time,\n \t\t\t\"prev\": self._prev,\n-\t\t\t\"txns\": self._txns,\n+ \"txns\": self._txns,\n \t\t\t\"difficulty\": self._difficulty\n \t\t}\n \n"
},
"id": 321578207905149325356072125001764788081,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 54
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 54
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -51,7 +51,7 @@\n \t\t\t\"at\": self._time,\n \t\t\t\"prev\": self._prev,\n \t\t\t\"txns\": self._txns,\n-\t\t\t\"difficulty\": self._difficulty\n+ \"difficulty\": self._difficulty\n \t\t}\n \n \t\tblock_hash = sha1(self.json()).hexdigest()\n"
},
"id": 139764836104117309763122583132670209740,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 55
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 55
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -52,7 +52,7 @@\n \t\t\t\"prev\": self._prev,\n \t\t\t\"txns\": self._txns,\n \t\t\t\"difficulty\": self._difficulty\n-\t\t}\n+ }\n \n \t\tblock_hash = sha1(self.json()).hexdigest()\n \t\tself._block[\"hash\"] = block_hash\n"
},
"id": 213222417536140689828746115281485842071,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 57
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 57
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -54,7 +54,7 @@\n \t\t\t\"difficulty\": self._difficulty\n \t\t}\n \n-\t\tblock_hash = sha1(self.json()).hexdigest()\n+ block_hash = sha1(self.json()).hexdigest()\n \t\tself._block[\"hash\"] = block_hash\n \t\tself._block[\"nonce\"] = self._nonce\n \n"
},
"id": 122284384208539216769852079680030800277,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 58
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 58
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -55,7 +55,7 @@\n \t\t}\n \n \t\tblock_hash = sha1(self.json()).hexdigest()\n-\t\tself._block[\"hash\"] = block_hash\n+ self._block[\"hash\"] = block_hash\n \t\tself._block[\"nonce\"] = self._nonce\n \n \tdef json(self):\n"
},
"id": 77569566206820341138531784261060898269,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 59
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 59
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -56,7 +56,7 @@\n \n \t\tblock_hash = sha1(self.json()).hexdigest()\n \t\tself._block[\"hash\"] = block_hash\n-\t\tself._block[\"nonce\"] = self._nonce\n+ self._block[\"nonce\"] = self._nonce\n \n \tdef json(self):\n \t\treturn dumps(self._block)\n"
},
"id": 117340326183846570031079732656081526901,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 61
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 61
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -58,7 +58,7 @@\n \t\tself._block[\"hash\"] = block_hash\n \t\tself._block[\"nonce\"] = self._nonce\n \n-\tdef json(self):\n+ def json(self):\n \t\treturn dumps(self._block)\n \n \tdef nonceTest(self, nonce, debug=False):\n"
},
"id": 312005921405133659422087608622448575623,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 62
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 62
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -59,7 +59,7 @@\n \t\tself._block[\"nonce\"] = self._nonce\n \n \tdef json(self):\n-\t\treturn dumps(self._block)\n+ return dumps(self._block)\n \n \tdef nonceTest(self, nonce, debug=False):\n \t\tloaded_block = Block.load(self.json())\n"
},
"id": 236700508107840354457644572065100188972,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 64
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 64
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -61,7 +61,7 @@\n \tdef json(self):\n \t\treturn dumps(self._block)\n \n-\tdef nonceTest(self, nonce, debug=False):\n+ def nonceTest(self, nonce, debug=False):\n \t\tloaded_block = Block.load(self.json())\n \t\tdifficulty = int(self.raw[\"difficulty\"])\n \n"
},
"id": 90619741383024648379578495451229104747,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 65
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 65
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -62,7 +62,7 @@\n \t\treturn dumps(self._block)\n \n \tdef nonceTest(self, nonce, debug=False):\n-\t\tloaded_block = Block.load(self.json())\n+ loaded_block = Block.load(self.json())\n \t\tdifficulty = int(self.raw[\"difficulty\"])\n \n \t\tloaded_block.raw[\"nonce\"] = str(nonce)\n"
},
"id": 14164391854967703920278105766690715499,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 66
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 66
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -63,7 +63,7 @@\n \n \tdef nonceTest(self, nonce, debug=False):\n \t\tloaded_block = Block.load(self.json())\n-\t\tdifficulty = int(self.raw[\"difficulty\"])\n+ difficulty = int(self.raw[\"difficulty\"])\n \n \t\tloaded_block.raw[\"nonce\"] = str(nonce)\n \n"
},
"id": 310869327386264855691744702202410154499,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 68
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 68
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -65,7 +65,7 @@\n \t\tloaded_block = Block.load(self.json())\n \t\tdifficulty = int(self.raw[\"difficulty\"])\n \n-\t\tloaded_block.raw[\"nonce\"] = str(nonce)\n+ loaded_block.raw[\"nonce\"] = str(nonce)\n \n \t\tloaded_hash = sha1(loaded_block.json()).hexdigest()\n \t\tif debug: print loaded_hash, str(loaded_hash)[:difficulty+1]\n"
},
"id": 5546968562584761748650158383901744307,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 70
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 70
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -67,7 +67,7 @@\n \n \t\tloaded_block.raw[\"nonce\"] = str(nonce)\n \n-\t\tloaded_hash = sha1(loaded_block.json()).hexdigest()\n+ loaded_hash = sha1(loaded_block.json()).hexdigest()\n \t\tif debug: print loaded_hash, str(loaded_hash)[:difficulty+1]\n \n \t\treturn str(loaded_hash[:difficulty]).count(\"0\") == difficulty\n"
},
"id": 296062867617190154272965015082299984761,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 71
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 71
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -68,7 +68,7 @@\n \t\tloaded_block.raw[\"nonce\"] = str(nonce)\n \n \t\tloaded_hash = sha1(loaded_block.json()).hexdigest()\n-\t\tif debug: print loaded_hash, str(loaded_hash)[:difficulty+1]\n+ if debug: print loaded_hash, str(loaded_hash)[:difficulty+1]\n \n \t\treturn str(loaded_hash[:difficulty]).count(\"0\") == difficulty\n \n"
},
"id": 138954212116311945542601959807198505395,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 73
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 73
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -70,7 +70,7 @@\n \t\tloaded_hash = sha1(loaded_block.json()).hexdigest()\n \t\tif debug: print loaded_hash, str(loaded_hash)[:difficulty+1]\n \n-\t\treturn str(loaded_hash[:difficulty]).count(\"0\") == difficulty\n+ return str(loaded_hash[:difficulty]).count(\"0\") == difficulty\n \n \tdef setNonce(self, nonce):\n \t\tself._block[\"nonce\"] = str(nonce)\n"
},
"id": 21608235124987809975989520786239070395,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 75
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 75
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -72,7 +72,7 @@\n \n \t\treturn str(loaded_hash[:difficulty]).count(\"0\") == difficulty\n \n-\tdef setNonce(self, nonce):\n+ def setNonce(self, nonce):\n \t\tself._block[\"nonce\"] = str(nonce)\n \n \traw = property(lambda self: self._block)\n"
},
"id": 121274250486752575119493514063427059102,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 76
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 76
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -73,7 +73,7 @@\n \t\treturn str(loaded_hash[:difficulty]).count(\"0\") == difficulty\n \n \tdef setNonce(self, nonce):\n-\t\tself._block[\"nonce\"] = str(nonce)\n+ self._block[\"nonce\"] = str(nonce)\n \n \traw = property(lambda self: self._block)\n \n"
},
"id": 283887412370074609337567096227455422847,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 78
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 78
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -75,7 +75,7 @@\n \tdef setNonce(self, nonce):\n \t\tself._block[\"nonce\"] = str(nonce)\n \n-\traw = property(lambda self: self._block)\n+ raw = property(lambda self: self._block)\n \n class BlockChain(object):\n \n"
},
"id": 137929467226739645889581246791406989213,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 82
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 82
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -79,7 +79,7 @@\n \n class BlockChain(object):\n \n-\tdef __init__(self, blocks):\n+ def __init__(self, blocks):\n \t\tassert isinstance(blocks, list)\n \t\tassert len(blocks) >= 1\n \n"
},
"id": 248827940030673181775430432529939432040,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 83
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 83
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -80,7 +80,7 @@\n class BlockChain(object):\n \n \tdef __init__(self, blocks):\n-\t\tassert isinstance(blocks, list)\n+ assert isinstance(blocks, list)\n \t\tassert len(blocks) >= 1\n \n \t\tfor block in blocks:\n"
},
"id": 27632986945884142302992400374922742855,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 84
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 84
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -81,7 +81,7 @@\n \n \tdef __init__(self, blocks):\n \t\tassert isinstance(blocks, list)\n-\t\tassert len(blocks) >= 1\n+ assert len(blocks) >= 1\n \n \t\tfor block in blocks:\n \t\t\tassert isinstance(block, Block)\n"
},
"id": 229316161435346985548575589813288443597,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 86
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 86
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -83,7 +83,7 @@\n \t\tassert isinstance(blocks, list)\n \t\tassert len(blocks) >= 1\n \n-\t\tfor block in blocks:\n+ for block in blocks:\n \t\t\tassert isinstance(block, Block)\n \n \t\tself._blocks = map(lambda l: l.json(), blocks)\n"
},
"id": 206752017723593204355225708860219176679,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 87
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 87
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -84,7 +84,7 @@\n \t\tassert len(blocks) >= 1\n \n \t\tfor block in blocks:\n-\t\t\tassert isinstance(block, Block)\n+ assert isinstance(block, Block)\n \n \t\tself._blocks = map(lambda l: l.json(), blocks)\n \t\tself._contains_gen = False\n"
},
"id": 307654635792000079640574570546062847734,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 89
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 89
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -86,7 +86,7 @@\n \t\tfor block in blocks:\n \t\t\tassert isinstance(block, Block)\n \n-\t\tself._blocks = map(lambda l: l.json(), blocks)\n+ self._blocks = map(lambda l: l.json(), blocks)\n \t\tself._contains_gen = False\n \n \t\"\"\"\n"
},
"id": 53510403190220707526347899110743986323,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 90
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 90
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -87,7 +87,7 @@\n \t\t\tassert isinstance(block, Block)\n \n \t\tself._blocks = map(lambda l: l.json(), blocks)\n-\t\tself._contains_gen = False\n+ self._contains_gen = False\n \n \t\"\"\"\n \t\t#####################################\n"
},
"id": 278722180643161881632259819714221610310,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 92
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 92
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -89,7 +89,7 @@\n \t\tself._blocks = map(lambda l: l.json(), blocks)\n \t\tself._contains_gen = False\n \n-\t\"\"\"\n+ \"\"\"\n \t\t#####################################\n \t\tPopulate this function asap\n \t\t#####################################\n"
},
"id": 37122075840532072233109247146388708254,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 93
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 93
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -90,7 +90,7 @@\n \t\tself._contains_gen = False\n \n \t\"\"\"\n-\t\t#####################################\n+ #####################################\n \t\tPopulate this function asap\n \t\t#####################################\n \t\"\"\"\n"
},
"id": 31524113449585514090266859308941425882,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 94
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 94
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -91,7 +91,7 @@\n \n \t\"\"\"\n \t\t#####################################\n-\t\tPopulate this function asap\n+ Populate this function asap\n \t\t#####################################\n \t\"\"\"\n \tdef validateBlockContents(self, contents):\n"
},
"id": 188149356481598086769280897321247225878,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 95
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 95
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -92,7 +92,7 @@\n \t\"\"\"\n \t\t#####################################\n \t\tPopulate this function asap\n-\t\t#####################################\n+ #####################################\n \t\"\"\"\n \tdef validateBlockContents(self, contents):\n \t\treturn True\n"
},
"id": 187896542400034288533489693935355090153,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 96
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 96
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -93,7 +93,7 @@\n \t\t#####################################\n \t\tPopulate this function asap\n \t\t#####################################\n-\t\"\"\"\n+ \"\"\"\n \tdef validateBlockContents(self, contents):\n \t\treturn True\n \n"
},
"id": 151388606410116396634791461667374814336,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 97
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 97
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -94,7 +94,7 @@\n \t\tPopulate this function asap\n \t\t#####################################\n \t\"\"\"\n-\tdef validateBlockContents(self, contents):\n+ def validateBlockContents(self, contents):\n \t\treturn True\n \n \tdef addBlock(self, block):\n"
},
"id": 131777797517799552934070494553134489238,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 98
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 98
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -95,7 +95,7 @@\n \t\t#####################################\n \t\"\"\"\n \tdef validateBlockContents(self, contents):\n-\t\treturn True\n+ return True\n \n \tdef addBlock(self, block):\n \t\tassert isinstance(block, Block)\n"
},
"id": 305019634128667141134498561198277877602,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 100
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 100
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -97,7 +97,7 @@\n \tdef validateBlockContents(self, contents):\n \t\treturn True\n \n-\tdef addBlock(self, block):\n+ def addBlock(self, block):\n \t\tassert isinstance(block, Block)\n \t\tnonce = block.raw[\"nonce\"]\n \t\tflag = True\n"
},
"id": 232103754560050651385173385538661664411,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 101
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 101
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -98,7 +98,7 @@\n \t\treturn True\n \n \tdef addBlock(self, block):\n-\t\tassert isinstance(block, Block)\n+ assert isinstance(block, Block)\n \t\tnonce = block.raw[\"nonce\"]\n \t\tflag = True\n \n"
},
"id": 215284617411274522634032571266310352062,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 102
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 102
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -99,7 +99,7 @@\n \n \tdef addBlock(self, block):\n \t\tassert isinstance(block, Block)\n-\t\tnonce = block.raw[\"nonce\"]\n+ nonce = block.raw[\"nonce\"]\n \t\tflag = True\n \n \t\t# test the nonce\n"
},
"id": 131702129551190864120006064007856350096,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 103
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 103
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -100,7 +100,7 @@\n \tdef addBlock(self, block):\n \t\tassert isinstance(block, Block)\n \t\tnonce = block.raw[\"nonce\"]\n-\t\tflag = True\n+ flag = True\n \n \t\t# test the nonce\n \t\tflag = flag and block.nonceTest(nonce)\n"
},
"id": 87358583447273259676673224991919248483,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 105
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 105
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -102,7 +102,7 @@\n \t\tnonce = block.raw[\"nonce\"]\n \t\tflag = True\n \n-\t\t# test the nonce\n+ # test the nonce\n \t\tflag = flag and block.nonceTest(nonce)\n \n \t\t# test that the difficulty is more than or equal\n"
},
"id": 259245035425059731701758600272452507605,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 106
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 106
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -103,7 +103,7 @@\n \t\tflag = True\n \n \t\t# test the nonce\n-\t\tflag = flag and block.nonceTest(nonce)\n+ flag = flag and block.nonceTest(nonce)\n \n \t\t# test that the difficulty is more than or equal\n \t\t# to the last difficulty level\n"
},
"id": 233770783573416934369609028146868774663,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 108
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 108
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -105,7 +105,7 @@\n \t\t# test the nonce\n \t\tflag = flag and block.nonceTest(nonce)\n \n-\t\t# test that the difficulty is more than or equal\n+ # test that the difficulty is more than or equal\n \t\t# to the last difficulty level\n \t\ttip_block = self.tip()\n \t\tflag = flag and tip_block.raw[\"difficulty\"] <= block.raw[\"difficulty\"]\n"
},
"id": 226314793715351188653602101979301454559,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 109
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 109
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -106,7 +106,7 @@\n \t\tflag = flag and block.nonceTest(nonce)\n \n \t\t# test that the difficulty is more than or equal\n-\t\t# to the last difficulty level\n+ # to the last difficulty level\n \t\ttip_block = self.tip()\n \t\tflag = flag and tip_block.raw[\"difficulty\"] <= block.raw[\"difficulty\"]\n \n"
},
"id": 123849956855701599727654636187864466883,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 110
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 110
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -107,7 +107,7 @@\n \n \t\t# test that the difficulty is more than or equal\n \t\t# to the last difficulty level\n-\t\ttip_block = self.tip()\n+ tip_block = self.tip()\n \t\tflag = flag and tip_block.raw[\"difficulty\"] <= block.raw[\"difficulty\"]\n \n \t\tfor txn in block.raw[\"txns\"]:\n"
},
"id": 91492512897310731510956797302068045188,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 111
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 111
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -108,7 +108,7 @@\n \t\t# test that the difficulty is more than or equal\n \t\t# to the last difficulty level\n \t\ttip_block = self.tip()\n-\t\tflag = flag and tip_block.raw[\"difficulty\"] <= block.raw[\"difficulty\"]\n+ flag = flag and tip_block.raw[\"difficulty\"] <= block.raw[\"difficulty\"]\n \n \t\tfor txn in block.raw[\"txns\"]:\n \t\t\ttxn = loads(txn)\n"
},
"id": 250500955737514666997449870473730706060,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 113
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 113
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -110,7 +110,7 @@\n \t\ttip_block = self.tip()\n \t\tflag = flag and tip_block.raw[\"difficulty\"] <= block.raw[\"difficulty\"]\n \n-\t\tfor txn in block.raw[\"txns\"]:\n+ for txn in block.raw[\"txns\"]:\n \t\t\ttxn = loads(txn)\n \n \t\t\t# ensure it contains only one gen txn\n"
},
"id": 283508309803747334115225650317012492712,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 114
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 114
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -111,7 +111,7 @@\n \t\tflag = flag and tip_block.raw[\"difficulty\"] <= block.raw[\"difficulty\"]\n \n \t\tfor txn in block.raw[\"txns\"]:\n-\t\t\ttxn = loads(txn)\n+ txn = loads(txn)\n \n \t\t\t# ensure it contains only one gen txn\n \t\t\tif txn[\"type\"] == \"mgo\" and not self._contains_gen:\n"
},
"id": 281490816674166745098837724857792037218,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 116
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 116
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -113,7 +113,7 @@\n \t\tfor txn in block.raw[\"txns\"]:\n \t\t\ttxn = loads(txn)\n \n-\t\t\t# ensure it contains only one gen txn\n+ # ensure it contains only one gen txn\n \t\t\tif txn[\"type\"] == \"mgo\" and not self._contains_gen:\n \t\t\t\tself._contains_gen = True\n \t\t\telif txn[\"type\"] == \"mgo\" and self._contains_gen:\n"
},
"id": 206590030521208896500769140707526467472,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 117
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 117
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -114,7 +114,7 @@\n \t\t\ttxn = loads(txn)\n \n \t\t\t# ensure it contains only one gen txn\n-\t\t\tif txn[\"type\"] == \"mgo\" and not self._contains_gen:\n+ if txn[\"type\"] == \"mgo\" and not self._contains_gen:\n \t\t\t\tself._contains_gen = True\n \t\t\telif txn[\"type\"] == \"mgo\" and self._contains_gen:\n \t\t\t\tflag = False\n"
},
"id": 289755389634605633872182957588946155620,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 118
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 118
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -115,7 +115,7 @@\n \n \t\t\t# ensure it contains only one gen txn\n \t\t\tif txn[\"type\"] == \"mgo\" and not self._contains_gen:\n-\t\t\t\tself._contains_gen = True\n+ self._contains_gen = True\n \t\t\telif txn[\"type\"] == \"mgo\" and self._contains_gen:\n \t\t\t\tflag = False\n \t\t\t\tbreak\n"
},
"id": 50962360714181805823807768665876489130,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 119
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 119
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -116,7 +116,7 @@\n \t\t\t# ensure it contains only one gen txn\n \t\t\tif txn[\"type\"] == \"mgo\" and not self._contains_gen:\n \t\t\t\tself._contains_gen = True\n-\t\t\telif txn[\"type\"] == \"mgo\" and self._contains_gen:\n+ elif txn[\"type\"] == \"mgo\" and self._contains_gen:\n \t\t\t\tflag = False\n \t\t\t\tbreak\n \n"
},
"id": 287283954000701761907742682999945607559,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 120
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 120
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -117,7 +117,7 @@\n \t\t\tif txn[\"type\"] == \"mgo\" and not self._contains_gen:\n \t\t\t\tself._contains_gen = True\n \t\t\telif txn[\"type\"] == \"mgo\" and self._contains_gen:\n-\t\t\t\tflag = False\n+ flag = False\n \t\t\t\tbreak\n \n \t\tif flag:\n"
},
"id": 47140653664272786234118278463120245587,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 121
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 121
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -118,7 +118,7 @@\n \t\t\t\tself._contains_gen = True\n \t\t\telif txn[\"type\"] == \"mgo\" and self._contains_gen:\n \t\t\t\tflag = False\n-\t\t\t\tbreak\n+ break\n \n \t\tif flag:\n \t\t\tself._blocks.append(block.json())\n"
},
"id": 166895931545142682216691881773970933608,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 123
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 123
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -120,7 +120,7 @@\n \t\t\t\tflag = False\n \t\t\t\tbreak\n \n-\t\tif flag:\n+ if flag:\n \t\t\tself._blocks.append(block.json())\n \t\telse:\n \t\t\traise BlockRejected()\n"
},
"id": 109272016873363101735975227968041396667,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 124
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 124
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -121,7 +121,7 @@\n \t\t\t\tbreak\n \n \t\tif flag:\n-\t\t\tself._blocks.append(block.json())\n+ self._blocks.append(block.json())\n \t\telse:\n \t\t\traise BlockRejected()\n \n"
},
"id": 258695492803388559951560864311828881138,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 125
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 125
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -122,7 +122,7 @@\n \n \t\tif flag:\n \t\t\tself._blocks.append(block.json())\n-\t\telse:\n+ else:\n \t\t\traise BlockRejected()\n \n \tdef getBlocks(self, prnt=False):\n"
},
"id": 3048748217663997149192013500600240194,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 126
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 126
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -123,7 +123,7 @@\n \t\tif flag:\n \t\t\tself._blocks.append(block.json())\n \t\telse:\n-\t\t\traise BlockRejected()\n+ raise BlockRejected()\n \n \tdef getBlocks(self, prnt=False):\n \t\tblocks = []\n"
},
"id": 223128962439659787653441617297239585304,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 128
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 128
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -125,7 +125,7 @@\n \t\telse:\n \t\t\traise BlockRejected()\n \n-\tdef getBlocks(self, prnt=False):\n+ def getBlocks(self, prnt=False):\n \t\tblocks = []\n \t\tfor block in self._blocks:\n \t\t\tblocks.append(Block.load(block))\n"
},
"id": 122602790163526661508990070423461314620,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 129
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 129
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -126,7 +126,7 @@\n \t\t\traise BlockRejected()\n \n \tdef getBlocks(self, prnt=False):\n-\t\tblocks = []\n+ blocks = []\n \t\tfor block in self._blocks:\n \t\t\tblocks.append(Block.load(block))\n \n"
},
"id": 153505671979248980549056135167952547943,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 130
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 130
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -127,7 +127,7 @@\n \n \tdef getBlocks(self, prnt=False):\n \t\tblocks = []\n-\t\tfor block in self._blocks:\n+ for block in self._blocks:\n \t\t\tblocks.append(Block.load(block))\n \n \t\tif prnt:\n"
},
"id": 19013592992368458922375933375058945539,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 131
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 131
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -128,7 +128,7 @@\n \tdef getBlocks(self, prnt=False):\n \t\tblocks = []\n \t\tfor block in self._blocks:\n-\t\t\tblocks.append(Block.load(block))\n+ blocks.append(Block.load(block))\n \n \t\tif prnt:\n \t\t\tfor block in blocks:\n"
},
"id": 313381321837487335880218877021520397951,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 133
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 133
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -130,7 +130,7 @@\n \t\tfor block in self._blocks:\n \t\t\tblocks.append(Block.load(block))\n \n-\t\tif prnt:\n+ if prnt:\n \t\t\tfor block in blocks:\n \t\t\t\tprint block.json()\n \n"
},
"id": 304333913368916375121613878027914132815,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 134
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 134
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -131,7 +131,7 @@\n \t\t\tblocks.append(Block.load(block))\n \n \t\tif prnt:\n-\t\t\tfor block in blocks:\n+ for block in blocks:\n \t\t\t\tprint block.json()\n \n \t\treturn blocks\n"
},
"id": 239610404044487042290108711117339070748,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 135
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 135
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -132,7 +132,7 @@\n \n \t\tif prnt:\n \t\t\tfor block in blocks:\n-\t\t\t\tprint block.json()\n+ print block.json()\n \n \t\treturn blocks\n \n"
},
"id": 202721839612750155172813354844051959780,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 137
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 137
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -134,7 +134,7 @@\n \t\t\tfor block in blocks:\n \t\t\t\tprint block.json()\n \n-\t\treturn blocks\n+ return blocks\n \n \tdef getBlock(self, block=None, block_hash=None):\n \t\tif block is not None:\n"
},
"id": 64866224526615800792576265165800300462,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 139
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 139
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -136,7 +136,7 @@\n \n \t\treturn blocks\n \n-\tdef getBlock(self, block=None, block_hash=None):\n+ def getBlock(self, block=None, block_hash=None):\n \t\tif block is not None:\n \t\t\tassert block < len(self._blocks)\n \t\t\treturn Block.load(self._blocks[block])\n"
},
"id": 170011883285644519112535470796919772169,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 140
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 140
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -137,7 +137,7 @@\n \t\treturn blocks\n \n \tdef getBlock(self, block=None, block_hash=None):\n-\t\tif block is not None:\n+ if block is not None:\n \t\t\tassert block < len(self._blocks)\n \t\t\treturn Block.load(self._blocks[block])\n \n"
},
"id": 176115835573252488061876959303268414397,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 141
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 141
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -138,7 +138,7 @@\n \n \tdef getBlock(self, block=None, block_hash=None):\n \t\tif block is not None:\n-\t\t\tassert block < len(self._blocks)\n+ assert block < len(self._blocks)\n \t\t\treturn Block.load(self._blocks[block])\n \n \t\telse:\n"
},
"id": 214890712009777824503156609961481141617,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 142
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 142
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -139,7 +139,7 @@\n \tdef getBlock(self, block=None, block_hash=None):\n \t\tif block is not None:\n \t\t\tassert block < len(self._blocks)\n-\t\t\treturn Block.load(self._blocks[block])\n+ return Block.load(self._blocks[block])\n \n \t\telse:\n \t\t\tfor block in self.getBlocks(False):\n"
},
"id": 202556150201742313217403741886277261942,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 144
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 144
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -141,7 +141,7 @@\n \t\t\tassert block < len(self._blocks)\n \t\t\treturn Block.load(self._blocks[block])\n \n-\t\telse:\n+ else:\n \t\t\tfor block in self.getBlocks(False):\n \t\t\t\tif block.raw[\"hash\"] == block_hash:\n \t\t\t\t\treturn block\n"
},
"id": 257848049412016665173404425762254937728,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 145
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 145
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -142,7 +142,7 @@\n \t\t\treturn Block.load(self._blocks[block])\n \n \t\telse:\n-\t\t\tfor block in self.getBlocks(False):\n+ for block in self.getBlocks(False):\n \t\t\t\tif block.raw[\"hash\"] == block_hash:\n \t\t\t\t\treturn block\n \n"
},
"id": 152314000361616826253804319912724829506,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 146
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 146
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -143,7 +143,7 @@\n \n \t\telse:\n \t\t\tfor block in self.getBlocks(False):\n-\t\t\t\tif block.raw[\"hash\"] == block_hash:\n+ if block.raw[\"hash\"] == block_hash:\n \t\t\t\t\treturn block\n \n \tdef tip(self):\n"
},
"id": 233865273168872679944912424217862517381,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 147
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 147
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -144,7 +144,7 @@\n \t\telse:\n \t\t\tfor block in self.getBlocks(False):\n \t\t\t\tif block.raw[\"hash\"] == block_hash:\n-\t\t\t\t\treturn block\n+ return block\n \n \tdef tip(self):\n \t\treturn self.getBlock(-1)\n"
},
"id": 72621629142906615502473842978531392865,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 149
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 149
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -146,7 +146,7 @@\n \t\t\t\tif block.raw[\"hash\"] == block_hash:\n \t\t\t\t\treturn block\n \n-\tdef tip(self):\n+ def tip(self):\n \t\treturn self.getBlock(-1)\n \n \tdef head(self):\n"
},
"id": 220221243861313847297328278803776603554,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 150
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 150
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -147,7 +147,7 @@\n \t\t\t\t\treturn block\n \n \tdef tip(self):\n-\t\treturn self.getBlock(-1)\n+ return self.getBlock(-1)\n \n \tdef head(self):\n \t\treturn self.getBlock(0)\n"
},
"id": 135935521034709856742738119612347746349,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 152
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 152
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -149,7 +149,7 @@\n \tdef tip(self):\n \t\treturn self.getBlock(-1)\n \n-\tdef head(self):\n+ def head(self):\n \t\treturn self.getBlock(0)\n \n \tdef lastHash(self):\n"
},
"id": 244331925288098919670094484131867486760,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 153
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 153
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -150,7 +150,7 @@\n \t\treturn self.getBlock(-1)\n \n \tdef head(self):\n-\t\treturn self.getBlock(0)\n+ return self.getBlock(0)\n \n \tdef lastHash(self):\n \t\treturn self.tip().raw[\"hash\"]\n"
},
"id": 7388903236598087419065601741472227353,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 155
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 155
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -152,7 +152,7 @@\n \tdef head(self):\n \t\treturn self.getBlock(0)\n \n-\tdef lastHash(self):\n+ def lastHash(self):\n \t\treturn self.tip().raw[\"hash\"]\n \n \tdef lastDifficulty(self):\n"
},
"id": 305391263840038467744214174847563443513,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 156
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 156
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -153,7 +153,7 @@\n \t\treturn self.getBlock(0)\n \n \tdef lastHash(self):\n-\t\treturn self.tip().raw[\"hash\"]\n+ return self.tip().raw[\"hash\"]\n \n \tdef lastDifficulty(self):\n \t\treturn self.tip().raw[\"difficulty\"]\n"
},
"id": 55965411981464404982590689614878692302,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 158
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 158
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -155,7 +155,7 @@\n \tdef lastHash(self):\n \t\treturn self.tip().raw[\"hash\"]\n \n-\tdef lastDifficulty(self):\n+ def lastDifficulty(self):\n \t\treturn self.tip().raw[\"difficulty\"]\n \n \tdef calculateBalance(self, of):\n"
},
"id": 315824537709234349612201431511338865453,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 159
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 159
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -156,7 +156,7 @@\n \t\treturn self.tip().raw[\"hash\"]\n \n \tdef lastDifficulty(self):\n-\t\treturn self.tip().raw[\"difficulty\"]\n+ return self.tip().raw[\"difficulty\"]\n \n \tdef calculateBalance(self, of):\n \t\tbalance = 0.0\n"
},
"id": 113541688310457638182764350159488839472,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 161
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 161
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -158,7 +158,7 @@\n \tdef lastDifficulty(self):\n \t\treturn self.tip().raw[\"difficulty\"]\n \n-\tdef calculateBalance(self, of):\n+ def calculateBalance(self, of):\n \t\tbalance = 0.0\n \t\tfor block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n"
},
"id": 131568700615259511235813289824767902175,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 162
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 162
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -159,7 +159,7 @@\n \t\treturn self.tip().raw[\"difficulty\"]\n \n \tdef calculateBalance(self, of):\n-\t\tbalance = 0.0\n+ balance = 0.0\n \t\tfor block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n \n"
},
"id": 153700447690676375394711702876676035661,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 163
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 163
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -160,7 +160,7 @@\n \n \tdef calculateBalance(self, of):\n \t\tbalance = 0.0\n-\t\tfor block in self.getBlocks(False):\n+ for block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n \n \t\t\t\tif txn[\"type\"] not in [\"mo\", \"mgo\"]:\n"
},
"id": 248358208805049101741777542758491719048,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 164
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 164
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -161,7 +161,7 @@\n \tdef calculateBalance(self, of):\n \t\tbalance = 0.0\n \t\tfor block in self.getBlocks(False):\n-\t\t\tfor txn in block.raw[\"txns\"]:\n+ for txn in block.raw[\"txns\"]:\n \n \t\t\t\tif txn[\"type\"] not in [\"mo\", \"mgo\"]:\n \t\t\t\t\tcontinue\n"
},
"id": 150950176732277724449339374485902013919,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 166
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 166
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -163,7 +163,7 @@\n \t\tfor block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n \n-\t\t\t\tif txn[\"type\"] not in [\"mo\", \"mgo\"]:\n+ if txn[\"type\"] not in [\"mo\", \"mgo\"]:\n \t\t\t\t\tcontinue\n \n \t\t\t\tif txn[\"type\"] == \"mgo\":\n"
},
"id": 211680885922072250728784855936287412305,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 167
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 167
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -164,7 +164,7 @@\n \t\t\tfor txn in block.raw[\"txns\"]:\n \n \t\t\t\tif txn[\"type\"] not in [\"mo\", \"mgo\"]:\n-\t\t\t\t\tcontinue\n+ continue\n \n \t\t\t\tif txn[\"type\"] == \"mgo\":\n \t\t\t\t\tif txn[\"to\"] == of:\n"
},
"id": 89864199338402603989719291006298854661,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 169
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 169
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -166,7 +166,7 @@\n \t\t\t\tif txn[\"type\"] not in [\"mo\", \"mgo\"]:\n \t\t\t\t\tcontinue\n \n-\t\t\t\tif txn[\"type\"] == \"mgo\":\n+ if txn[\"type\"] == \"mgo\":\n \t\t\t\t\tif txn[\"to\"] == of:\n \t\t\t\t\t\tbalance += txn[\"amount\"]\n \t\t\t\t\tcontinue\n"
},
"id": 288185044773673922911934752977040479418,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 170
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 170
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -167,7 +167,7 @@\n \t\t\t\t\tcontinue\n \n \t\t\t\tif txn[\"type\"] == \"mgo\":\n-\t\t\t\t\tif txn[\"to\"] == of:\n+ if txn[\"to\"] == of:\n \t\t\t\t\t\tbalance += txn[\"amount\"]\n \t\t\t\t\tcontinue\n \n"
},
"id": 286047076405081844075637656091830947334,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 171
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 171
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -168,7 +168,7 @@\n \n \t\t\t\tif txn[\"type\"] == \"mgo\":\n \t\t\t\t\tif txn[\"to\"] == of:\n-\t\t\t\t\t\tbalance += txn[\"amount\"]\n+ balance += txn[\"amount\"]\n \t\t\t\t\tcontinue\n \n \t\t\t\tif txn[\"from\"] != of:\n"
},
"id": 100457431809605232538551912122368966890,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 172
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 172
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -169,7 +169,7 @@\n \t\t\t\tif txn[\"type\"] == \"mgo\":\n \t\t\t\t\tif txn[\"to\"] == of:\n \t\t\t\t\t\tbalance += txn[\"amount\"]\n-\t\t\t\t\tcontinue\n+ continue\n \n \t\t\t\tif txn[\"from\"] != of:\n \t\t\t\t\tfrm = txn[\"from\"]\n"
},
"id": 63863078869690968274731430415702772679,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 174
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 174
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -171,7 +171,7 @@\n \t\t\t\t\t\tbalance += txn[\"amount\"]\n \t\t\t\t\tcontinue\n \n-\t\t\t\tif txn[\"from\"] != of:\n+ if txn[\"from\"] != of:\n \t\t\t\t\tfrm = txn[\"from\"]\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(frm)\n \n"
},
"id": 155580491658550820730415730143480010662,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 175
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 175
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -172,7 +172,7 @@\n \t\t\t\t\tcontinue\n \n \t\t\t\tif txn[\"from\"] != of:\n-\t\t\t\t\tfrm = txn[\"from\"]\n+ frm = txn[\"from\"]\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(frm)\n \n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n"
},
"id": 252666242535753330697825875957998164861,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 176
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 176
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -173,7 +173,7 @@\n \n \t\t\t\tif txn[\"from\"] != of:\n \t\t\t\t\tfrm = txn[\"from\"]\n-\t\t\t\t\tpubKey = Wallet.reconstructPublicKey(frm)\n+ pubKey = Wallet.reconstructPublicKey(frm)\n \n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n \t\t\t\t\tdecrypted = loads(decrypted)\n"
},
"id": 284032684409358897439133889341938052999,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 178
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 178
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -175,7 +175,7 @@\n \t\t\t\t\tfrm = txn[\"from\"]\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(frm)\n \n-\t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n+ decrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n \t\t\t\t\tdecrypted = loads(decrypted)\n \n \t\t\t\t\t# Ensure the key matches!\n"
},
"id": 228541799283495969535348592662939867383,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 179
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 179
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -176,7 +176,7 @@\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(frm)\n \n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n-\t\t\t\t\tdecrypted = loads(decrypted)\n+ decrypted = loads(decrypted)\n \n \t\t\t\t\t# Ensure the key matches!\n \t\t\t\t\tif of == decrypted[\"to\"]:\n"
},
"id": 257597909714555168366026022367785326067,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 181
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 181
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -178,7 +178,7 @@\n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n \t\t\t\t\tdecrypted = loads(decrypted)\n \n-\t\t\t\t\t# Ensure the key matches!\n+ # Ensure the key matches!\n \t\t\t\t\tif of == decrypted[\"to\"]:\n \t\t\t\t\t\tbalance += float(decrypted[\"amount\"])\n \t\t\t\telse:\n"
},
"id": 138133906914592227804495928096355701861,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 182
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 182
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -179,7 +179,7 @@\n \t\t\t\t\tdecrypted = loads(decrypted)\n \n \t\t\t\t\t# Ensure the key matches!\n-\t\t\t\t\tif of == decrypted[\"to\"]:\n+ if of == decrypted[\"to\"]:\n \t\t\t\t\t\tbalance += float(decrypted[\"amount\"])\n \t\t\t\telse:\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(of)\n"
},
"id": 2187131161168621302222365086493753073,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 183
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 183
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -180,7 +180,7 @@\n \n \t\t\t\t\t# Ensure the key matches!\n \t\t\t\t\tif of == decrypted[\"to\"]:\n-\t\t\t\t\t\tbalance += float(decrypted[\"amount\"])\n+ balance += float(decrypted[\"amount\"])\n \t\t\t\telse:\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(of)\n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n"
},
"id": 330698461780296063506229144441365044151,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 184
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 184
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -181,7 +181,7 @@\n \t\t\t\t\t# Ensure the key matches!\n \t\t\t\t\tif of == decrypted[\"to\"]:\n \t\t\t\t\t\tbalance += float(decrypted[\"amount\"])\n-\t\t\t\telse:\n+ else:\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(of)\n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n \t\t\t\t\tdecrypted = loads(decrypted)\n"
},
"id": 142502236606376817076208736323831626240,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 185
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 185
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -182,7 +182,7 @@\n \t\t\t\t\tif of == decrypted[\"to\"]:\n \t\t\t\t\t\tbalance += float(decrypted[\"amount\"])\n \t\t\t\telse:\n-\t\t\t\t\tpubKey = Wallet.reconstructPublicKey(of)\n+ pubKey = Wallet.reconstructPublicKey(of)\n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n \t\t\t\t\tdecrypted = loads(decrypted)\n \n"
},
"id": 307588842226598434486055622432140806421,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 186
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 186
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -183,7 +183,7 @@\n \t\t\t\t\t\tbalance += float(decrypted[\"amount\"])\n \t\t\t\telse:\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(of)\n-\t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n+ decrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n \t\t\t\t\tdecrypted = loads(decrypted)\n \n \t\t\t\t\tbalance -= float(decrypted[\"amount\"])\n"
},
"id": 170726773677573358143884180467875687559,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 187
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 187
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -184,7 +184,7 @@\n \t\t\t\telse:\n \t\t\t\t\tpubKey = Wallet.reconstructPublicKey(of)\n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n-\t\t\t\t\tdecrypted = loads(decrypted)\n+ decrypted = loads(decrypted)\n \n \t\t\t\t\tbalance -= float(decrypted[\"amount\"])\n \n"
},
"id": 199851058744303759458968420289388309867,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 189
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 189
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -186,7 +186,7 @@\n \t\t\t\t\tdecrypted = rsa.decrypt(unhexlify(txn[\"payload\"]), pubKey)\n \t\t\t\t\tdecrypted = loads(decrypted)\n \n-\t\t\t\t\tbalance -= float(decrypted[\"amount\"])\n+ balance -= float(decrypted[\"amount\"])\n \n \t\treturn balance\n \n"
},
"id": 242030194945659437403301141662484421641,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 191
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 191
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -188,7 +188,7 @@\n \n \t\t\t\t\tbalance -= float(decrypted[\"amount\"])\n \n-\t\treturn balance\n+ return balance\n \n \tdef getLoHistory(self, identity_private_key):\n \t\tfor block in self.getBlocks(False):\n"
},
"id": 200700482051885164170962249220340894653,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 193
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 193
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -190,7 +190,7 @@\n \n \t\treturn balance\n \n-\tdef getLoHistory(self, identity_private_key):\n+ def getLoHistory(self, identity_private_key):\n \t\tfor block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n \t\t\t\ttxn = loads(txn)\n"
},
"id": 10404243376819407385245139543938303711,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 194
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 194
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -191,7 +191,7 @@\n \t\treturn balance\n \n \tdef getLoHistory(self, identity_private_key):\n-\t\tfor block in self.getBlocks(False):\n+ for block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n \t\t\t\ttxn = loads(txn)\n \n"
},
"id": 22001828124642608319717303265888234917,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 195
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 195
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -192,7 +192,7 @@\n \n \tdef getLoHistory(self, identity_private_key):\n \t\tfor block in self.getBlocks(False):\n-\t\t\tfor txn in block.raw[\"txns\"]:\n+ for txn in block.raw[\"txns\"]:\n \t\t\t\ttxn = loads(txn)\n \n \t\t\t\tif txn[\"type\"] != \"lo\":\n"
},
"id": 164102812054225090305084837579681026939,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 196
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 196
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -193,7 +193,7 @@\n \tdef getLoHistory(self, identity_private_key):\n \t\tfor block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n-\t\t\t\ttxn = loads(txn)\n+ txn = loads(txn)\n \n \t\t\t\tif txn[\"type\"] != \"lo\":\n \t\t\t\t\tcontinue\n"
},
"id": 262569130007368095664486302386597982458,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 198
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 198
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -195,7 +195,7 @@\n \t\t\tfor txn in block.raw[\"txns\"]:\n \t\t\t\ttxn = loads(txn)\n \n-\t\t\t\tif txn[\"type\"] != \"lo\":\n+ if txn[\"type\"] != \"lo\":\n \t\t\t\t\tcontinue\n \n \t\t\t\tidentity = rsa.decrypt(unhexlify(txn[\"identity\"]), identity_private_key)\n"
},
"id": 36418954456300287178869935032363237660,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 199
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 199
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -196,7 +196,7 @@\n \t\t\t\ttxn = loads(txn)\n \n \t\t\t\tif txn[\"type\"] != \"lo\":\n-\t\t\t\t\tcontinue\n+ continue\n \n \t\t\t\tidentity = rsa.decrypt(unhexlify(txn[\"identity\"]), identity_private_key)\n \n"
},
"id": 285515542878206755211994733303466638119,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 201
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 201
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -198,7 +198,7 @@\n \t\t\t\tif txn[\"type\"] != \"lo\":\n \t\t\t\t\tcontinue\n \n-\t\t\t\tidentity = rsa.decrypt(unhexlify(txn[\"identity\"]), identity_private_key)\n+ identity = rsa.decrypt(unhexlify(txn[\"identity\"]), identity_private_key)\n \n \t\t\t\ttry:\n \t\t\t\t\tidentity = loads(identity)\n"
},
"id": 95381330339449210411542791510780242905,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 203
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 203
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -200,7 +200,7 @@\n \n \t\t\t\tidentity = rsa.decrypt(unhexlify(txn[\"identity\"]), identity_private_key)\n \n-\t\t\t\ttry:\n+ try:\n \t\t\t\t\tidentity = loads(identity)\n \t\t\t\t\tif identity[\"ok\"] == 200:\n \t\t\t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n"
},
"id": 55372713243607330099492702602782707596,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 204
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 204
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -201,7 +201,7 @@\n \t\t\t\tidentity = rsa.decrypt(unhexlify(txn[\"identity\"]), identity_private_key)\n \n \t\t\t\ttry:\n-\t\t\t\t\tidentity = loads(identity)\n+ identity = loads(identity)\n \t\t\t\t\tif identity[\"ok\"] == 200:\n \t\t\t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n \t\t\t\texcept: continue\n"
},
"id": 100691033936576748614609804514096319922,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 205
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 205
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -202,7 +202,7 @@\n \n \t\t\t\ttry:\n \t\t\t\t\tidentity = loads(identity)\n-\t\t\t\t\tif identity[\"ok\"] == 200:\n+ if identity[\"ok\"] == 200:\n \t\t\t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n \t\t\t\texcept: continue\n \n"
},
"id": 190473714181776580662514477675260276187,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 206
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 206
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -203,7 +203,7 @@\n \t\t\t\ttry:\n \t\t\t\t\tidentity = loads(identity)\n \t\t\t\t\tif identity[\"ok\"] == 200:\n-\t\t\t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n+ yield txn[\"loc\"], txn[\"at\"]\n \t\t\t\texcept: continue\n \n \tdef getAllLoc(self):\n"
},
"id": 42594710971949402559943132449156198336,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 207
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 207
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -204,7 +204,7 @@\n \t\t\t\t\tidentity = loads(identity)\n \t\t\t\t\tif identity[\"ok\"] == 200:\n \t\t\t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n-\t\t\t\texcept: continue\n+ except: continue\n \n \tdef getAllLoc(self):\n \t\tfor block in self.getBlocks(False):\n"
},
"id": 17833918628187842593792065975525922233,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 209
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 209
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -206,7 +206,7 @@\n \t\t\t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n \t\t\t\texcept: continue\n \n-\tdef getAllLoc(self):\n+ def getAllLoc(self):\n \t\tfor block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n \t\t\t\t# txn = loads(txns)\n"
},
"id": 241104914072136867801114931470985239822,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 210
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 210
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -207,7 +207,7 @@\n \t\t\t\texcept: continue\n \n \tdef getAllLoc(self):\n-\t\tfor block in self.getBlocks(False):\n+ for block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n \t\t\t\t# txn = loads(txns)\n \n"
},
"id": 158817128598897823627289195517863106847,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 211
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 211
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -208,7 +208,7 @@\n \n \tdef getAllLoc(self):\n \t\tfor block in self.getBlocks(False):\n-\t\t\tfor txn in block.raw[\"txns\"]:\n+ for txn in block.raw[\"txns\"]:\n \t\t\t\t# txn = loads(txns)\n \n \t\t\t\tif txn[\"type\"] != \"lo\":\n"
},
"id": 273938131593102321142014150551729355289,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 212
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 212
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -209,7 +209,7 @@\n \tdef getAllLoc(self):\n \t\tfor block in self.getBlocks(False):\n \t\t\tfor txn in block.raw[\"txns\"]:\n-\t\t\t\t# txn = loads(txns)\n+ # txn = loads(txns)\n \n \t\t\t\tif txn[\"type\"] != \"lo\":\n \t\t\t\t\tcontinue\n"
},
"id": 111171987385700627853820901107227511654,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 214
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 214
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -211,7 +211,7 @@\n \t\t\tfor txn in block.raw[\"txns\"]:\n \t\t\t\t# txn = loads(txns)\n \n-\t\t\t\tif txn[\"type\"] != \"lo\":\n+ if txn[\"type\"] != \"lo\":\n \t\t\t\t\tcontinue\n \n \t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n"
},
"id": 167702209057313241908036060193974123689,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 215
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 215
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -212,7 +212,7 @@\n \t\t\t\t# txn = loads(txns)\n \n \t\t\t\tif txn[\"type\"] != \"lo\":\n-\t\t\t\t\tcontinue\n+ continue\n \n \t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n \n"
},
"id": 15859246796056057165722300990849277830,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 217
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 217
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -214,7 +214,7 @@\n \t\t\t\tif txn[\"type\"] != \"lo\":\n \t\t\t\t\tcontinue\n \n-\t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n+ yield txn[\"loc\"], txn[\"at\"]\n \n if __name__ == \"__main__\":\n \tfrom txns import *\n"
},
"id": 23529094642105875043873188031713118534,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 220
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 220
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -217,7 +217,7 @@\n \t\t\t\tyield txn[\"loc\"], txn[\"at\"]\n \n if __name__ == \"__main__\":\n-\tfrom txns import *\n+ from txns import *\n \tfrom miner import *\n \tfrom wallet import *\n \n"
},
"id": 172579971760414958237645414019390230597,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 221
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 221
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -218,7 +218,7 @@\n \n if __name__ == \"__main__\":\n \tfrom txns import *\n-\tfrom miner import *\n+ from miner import *\n \tfrom wallet import *\n \n \twallet = Identity.loadWallet(\"sample.wallet\")\n"
},
"id": 119816854760295350187970340362364456558,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 222
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 222
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -219,7 +219,7 @@\n if __name__ == \"__main__\":\n \tfrom txns import *\n \tfrom miner import *\n-\tfrom wallet import *\n+ from wallet import *\n \n \twallet = Identity.loadWallet(\"sample.wallet\")\n \n"
},
"id": 288401591498133655486981137688810411927,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 224
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 224
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -221,7 +221,7 @@\n \tfrom miner import *\n \tfrom wallet import *\n \n-\twallet = Identity.loadWallet(\"sample.wallet\")\n+ wallet = Identity.loadWallet(\"sample.wallet\")\n \n \tgenesis = Block(\"da4b9237bacccdf19c0760cab7aec4a8359010b0\", 1, [])\n \tblockChain, txnPool = BlockChain([genesis]), TxnPool() \n"
},
"id": 164301102099464145375858425987903256859,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 226
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 226
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -223,7 +223,7 @@\n \n \twallet = Identity.loadWallet(\"sample.wallet\")\n \n-\tgenesis = Block(\"da4b9237bacccdf19c0760cab7aec4a8359010b0\", 1, [])\n+ genesis = Block(\"da4b9237bacccdf19c0760cab7aec4a8359010b0\", 1, [])\n \tblockChain, txnPool = BlockChain([genesis]), TxnPool() \n \n \tloTxn = LoTxn(\"28.535517,77.391029\", 1, wallet)\n"
},
"id": 307823682848934157769150230331599580157,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "Your source code contains trailing whitespaces. Those usually have no meaning. Please consider removing them.",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 227
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 227
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -224,7 +224,7 @@\n \twallet = Identity.loadWallet(\"sample.wallet\")\n \n \tgenesis = Block(\"da4b9237bacccdf19c0760cab7aec4a8359010b0\", 1, [])\n-\tblockChain, txnPool = BlockChain([genesis]), TxnPool() \n+ blockChain, txnPool = BlockChain([genesis]), TxnPool()\n \n \tloTxn = LoTxn(\"28.535517,77.391029\", 1, wallet)\n \tMiner.fixLoTxn(loTxn)\n"
},
"id": 204980239477783552790049928219440301737,
"message": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Trailing whitespaces.\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 229
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 229
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -226,7 +226,7 @@\n \tgenesis = Block(\"da4b9237bacccdf19c0760cab7aec4a8359010b0\", 1, [])\n \tblockChain, txnPool = BlockChain([genesis]), TxnPool() \n \n-\tloTxn = LoTxn(\"28.535517,77.391029\", 1, wallet)\n+ loTxn = LoTxn(\"28.535517,77.391029\", 1, wallet)\n \tMiner.fixLoTxn(loTxn)\n \n \ttxnPool.addToPool(loTxn)\n"
},
"id": 286106775607565068955989821919285620606,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 230
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 230
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -227,7 +227,7 @@\n \tblockChain, txnPool = BlockChain([genesis]), TxnPool() \n \n \tloTxn = LoTxn(\"28.535517,77.391029\", 1, wallet)\n-\tMiner.fixLoTxn(loTxn)\n+ Miner.fixLoTxn(loTxn)\n \n \ttxnPool.addToPool(loTxn)\n \n"
},
"id": 227447893195029736188303006028578786057,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 232
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 232
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -229,7 +229,7 @@\n \tloTxn = LoTxn(\"28.535517,77.391029\", 1, wallet)\n \tMiner.fixLoTxn(loTxn)\n \n-\ttxnPool.addToPool(loTxn)\n+ txnPool.addToPool(loTxn)\n \n \tloTxn = LoTxn(\"28.535517,77.391030\", 1, wallet)\n \tMiner.fixLoTxn(loTxn)\n"
},
"id": 300918229548386924938752347273162890091,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 234
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 234
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -231,7 +231,7 @@\n \n \ttxnPool.addToPool(loTxn)\n \n-\tloTxn = LoTxn(\"28.535517,77.391030\", 1, wallet)\n+ loTxn = LoTxn(\"28.535517,77.391030\", 1, wallet)\n \tMiner.fixLoTxn(loTxn)\n \n \ttxnPool.addToPool(loTxn)\n"
},
"id": 132390143698822381022053258220184957538,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 235
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 235
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -232,7 +232,7 @@\n \ttxnPool.addToPool(loTxn)\n \n \tloTxn = LoTxn(\"28.535517,77.391030\", 1, wallet)\n-\tMiner.fixLoTxn(loTxn)\n+ Miner.fixLoTxn(loTxn)\n \n \ttxnPool.addToPool(loTxn)\n \n"
},
"id": 278953989085288171849954893565117107600,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 237
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 237
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -234,7 +234,7 @@\n \tloTxn = LoTxn(\"28.535517,77.391030\", 1, wallet)\n \tMiner.fixLoTxn(loTxn)\n \n-\ttxnPool.addToPool(loTxn)\n+ txnPool.addToPool(loTxn)\n \n \tmoTxn = MoGenTxn(\"tJiPiyR7ggjQaT0O0hgYijgxLYaatam7AZhjFgMg9hgj4iymJuvaMSiahaagzQahgHaN5nCaUiUoHKihlThLaiaTWvjpgj5QiPha5hgjIgPgELHjzigZAj1aOSuHGjphUxT3mJa2UhgjhlhazlgCKgXgjaaimM3hxghuixEaiJ2KhrIahjhEhhh07SnaaaHiyhHh20jjjgjgiUhh3w2ajhjjiIgIuota4Wxivauh0LkIHj6XSMoaz9EimaumzNmaiiaahgVvCoiXjPiX7igStiPaigg3OjKn9Hjihh5ghO9gH8KgigF4jgTzqZHgPgjRghihPqjZlhaJihjYkGMqFgDWnItjagJxVahJghkGhj9h7BiTiiinFhgiLnYig2kRg1hmOsihZaijgOwOhjMh\")\n \ttxnPool.addToPool(moTxn)\n"
},
"id": 336576743587496008575306802392697837323,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 239
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 239
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -236,7 +236,7 @@\n \n \ttxnPool.addToPool(loTxn)\n \n-\tmoTxn = MoGenTxn(\"tJiPiyR7ggjQaT0O0hgYijgxLYaatam7AZhjFgMg9hgj4iymJuvaMSiahaagzQahgHaN5nCaUiUoHKihlThLaiaTWvjpgj5QiPha5hgjIgPgELHjzigZAj1aOSuHGjphUxT3mJa2UhgjhlhazlgCKgXgjaaimM3hxghuixEaiJ2KhrIahjhEhhh07SnaaaHiyhHh20jjjgjgiUhh3w2ajhjjiIgIuota4Wxivauh0LkIHj6XSMoaz9EimaumzNmaiiaahgVvCoiXjPiX7igStiPaigg3OjKn9Hjihh5ghO9gH8KgigF4jgTzqZHgPgjRghihPqjZlhaJihjYkGMqFgDWnItjagJxVahJghkGhj9h7BiTiiinFhgiLnYig2kRg1hmOsihZaijgOwOhjMh\")\n+ moTxn = MoGenTxn(\"tJiPiyR7ggjQaT0O0hgYijgxLYaatam7AZhjFgMg9hgj4iymJuvaMSiahaagzQahgHaN5nCaUiUoHKihlThLaiaTWvjpgj5QiPha5hgjIgPgELHjzigZAj1aOSuHGjphUxT3mJa2UhgjhlhazlgCKgXgjaaimM3hxghuixEaiJ2KhrIahjhEhhh07SnaaaHiyhHh20jjjgjgiUhh3w2ajhjjiIgIuota4Wxivauh0LkIHj6XSMoaz9EimaumzNmaiiaahgVvCoiXjPiX7igStiPaigg3OjKn9Hjihh5ghO9gH8KgigF4jgTzqZHgPgjRghihPqjZlhaJihjYkGMqFgDWnItjagJxVahJghkGhj9h7BiTiiinFhgiLnYig2kRg1hmOsihZaijgOwOhjMh\")\n \ttxnPool.addToPool(moTxn)\n \n \tMiner.do(blockChain, txnPool)\n"
},
"id": 58550916925661700473614867136364712398,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 240
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 240
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -237,7 +237,7 @@\n \ttxnPool.addToPool(loTxn)\n \n \tmoTxn = MoGenTxn(\"tJiPiyR7ggjQaT0O0hgYijgxLYaatam7AZhjFgMg9hgj4iymJuvaMSiahaagzQahgHaN5nCaUiUoHKihlThLaiaTWvjpgj5QiPha5hgjIgPgELHjzigZAj1aOSuHGjphUxT3mJa2UhgjhlhazlgCKgXgjaaimM3hxghuixEaiJ2KhrIahjhEhhh07SnaaaHiyhHh20jjjgjgiUhh3w2ajhjjiIgIuota4Wxivauh0LkIHj6XSMoaz9EimaumzNmaiiaahgVvCoiXjPiX7igStiPaigg3OjKn9Hjihh5ghO9gH8KgigF4jgTzqZHgPgjRghihPqjZlhaJihjYkGMqFgDWnItjagJxVahJghkGhj9h7BiTiiinFhgiLnYig2kRg1hmOsihZaijgOwOhjMh\")\n-\ttxnPool.addToPool(moTxn)\n+ txnPool.addToPool(moTxn)\n \n \tMiner.do(blockChain, txnPool)\n \tblockChain.getBlocks(True)\n"
},
"id": 168690999970992412114632258393688786838,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 242
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 242
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -239,7 +239,7 @@\n \tmoTxn = MoGenTxn(\"tJiPiyR7ggjQaT0O0hgYijgxLYaatam7AZhjFgMg9hgj4iymJuvaMSiahaagzQahgHaN5nCaUiUoHKihlThLaiaTWvjpgj5QiPha5hgjIgPgELHjzigZAj1aOSuHGjphUxT3mJa2UhgjhlhazlgCKgXgjaaimM3hxghuixEaiJ2KhrIahjhEhhh07SnaaaHiyhHh20jjjgjgiUhh3w2ajhjjiIgIuota4Wxivauh0LkIHj6XSMoaz9EimaumzNmaiiaahgVvCoiXjPiX7igStiPaigg3OjKn9Hjihh5ghO9gH8KgigF4jgTzqZHgPgjRghihPqjZlhaJihjYkGMqFgDWnItjagJxVahJghkGhj9h7BiTiiinFhgiLnYig2kRg1hmOsihZaijgOwOhjMh\")\n \ttxnPool.addToPool(moTxn)\n \n-\tMiner.do(blockChain, txnPool)\n+ Miner.do(blockChain, txnPool)\n \tblockChain.getBlocks(True)\n \n \tfor l in blockChain.getAllLoc():\n"
},
"id": 276148166877687569593053010801583700043,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 243
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 243
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -240,7 +240,7 @@\n \ttxnPool.addToPool(moTxn)\n \n \tMiner.do(blockChain, txnPool)\n-\tblockChain.getBlocks(True)\n+ blockChain.getBlocks(True)\n \n \tfor l in blockChain.getAllLoc():\n \t\tprint l\n"
},
"id": 157191638376591901325018366264646111310,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 245
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 245
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -242,7 +242,7 @@\n \tMiner.do(blockChain, txnPool)\n \tblockChain.getBlocks(True)\n \n-\tfor l in blockChain.getAllLoc():\n+ for l in blockChain.getAllLoc():\n \t\tprint l\n \n \tmoTxn = MoTxn(blockChain, wallet, \"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\", 5)\n"
},
"id": 198808754803776163320811496277743154635,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 246
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 246
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -243,7 +243,7 @@\n \tblockChain.getBlocks(True)\n \n \tfor l in blockChain.getAllLoc():\n-\t\tprint l\n+ print l\n \n \tmoTxn = MoTxn(blockChain, wallet, \"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\", 5)\n \tmoTxn.sign()\n"
},
"id": 100415247601188807043139981394877468970,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 248
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 248
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -245,7 +245,7 @@\n \tfor l in blockChain.getAllLoc():\n \t\tprint l\n \n-\tmoTxn = MoTxn(blockChain, wallet, \"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\", 5)\n+ moTxn = MoTxn(blockChain, wallet, \"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\", 5)\n \tmoTxn.sign()\n \ttxnPool.addToPool(moTxn)\n \n"
},
"id": 8283183219798963595319999554757795372,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 249
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 249
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -246,7 +246,7 @@\n \t\tprint l\n \n \tmoTxn = MoTxn(blockChain, wallet, \"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\", 5)\n-\tmoTxn.sign()\n+ moTxn.sign()\n \ttxnPool.addToPool(moTxn)\n \n \tMiner.do(blockChain, txnPool)\n"
},
"id": 22953775597013412185385730706180781370,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 250
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 250
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -247,7 +247,7 @@\n \n \tmoTxn = MoTxn(blockChain, wallet, \"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\", 5)\n \tmoTxn.sign()\n-\ttxnPool.addToPool(moTxn)\n+ txnPool.addToPool(moTxn)\n \n \tMiner.do(blockChain, txnPool)\n \n"
},
"id": 52273820202071463052959254606509486121,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 252
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 252
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -249,7 +249,7 @@\n \tmoTxn.sign()\n \ttxnPool.addToPool(moTxn)\n \n-\tMiner.do(blockChain, txnPool)\n+ Miner.do(blockChain, txnPool)\n \n \tblockChain.getBlocks(True)\n \n"
},
"id": 156701806154433679927373230696171722464,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 254
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 254
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -251,6 +251,6 @@\n \n \tMiner.do(blockChain, txnPool)\n \n-\tblockChain.getBlocks(True)\n+ blockChain.getBlocks(True)\n \n \tprint blockChain.calculateBalance(\"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\")\n"
},
"id": 107279441543942729444219172535595189435,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
},
{
"additional_info": "",
"affected_code": [
{
"end": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 256
},
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"start": {
"column": null,
"file": "/home/ksdme/Work/gsoc/others/LoCoin/models.py",
"line": 256
}
}
],
"applied_actions": {},
"aspect": "NoneType",
"confidence": 100,
"debug_msg": "",
"diffs": {
"/home/ksdme/Work/gsoc/others/LoCoin/models.py": "--- \n+++ \n@@ -253,4 +253,4 @@\n \n \tblockChain.getBlocks(True)\n \n-\tprint blockChain.calculateBalance(\"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\")\n+ print blockChain.calculateBalance(\"kW3giRjTgjihYqLqajKxBFajaBRagNngi4iQKpiOrg0G3jvAyCihhVj5KE9aahhVJOMAlZiUxaaRB1HyjaBgV1EvJtsDhsjvjiaiojaAwgSjoPtjN2l7a3yYaiqg45iDphQjaoC6NMiqahjhxiBjaihmQ2yQpThGghnhnhagAhOkjMjPDaX8OaaCaiiQhMUhlJgj\")\n"
},
"id": 25838692803641023555979224255531865145,
"message": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"message_arguments": {},
"message_base": "Line contains following spacing inconsistencies:\n- Tabs used instead of spaces.",
"origin": "SpaceConsistencyBear",
"severity": 1
}
],
"cli": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment