Skip to content

Commit 268e8b1

Browse files
committed
clean up duplicate line and uncessary comment
1 parent 9fcec77 commit 268e8b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bulk_insert.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ def __init__(self, filename):
104104
self.infile = io.open(filename, 'rt')
105105
# Initialize CSV reader that ignores leading whitespace in each field
106106
# and does not modify input quote characters
107-
#self.reader = csv.reader(self.infile, skipinitialspace=True)
108107
self.reader = csv.reader(self.infile, skipinitialspace=True, quoting=QUOTING)
109108

110109
self.prop_offset = 0 # Starting index of properties in row
@@ -329,7 +328,6 @@ def process_entity_csvs(cls, csvs):
329328
@click.option('--max-token-count', '-c', default=1024, help='max number of processed CSVs to send per query (default 1024)')
330329
@click.option('--max-buffer-size', '-b', default=2048, help='max buffer size in megabytes (default 2048)')
331330
@click.option('--max-token-size', '-t', default=500, help='max size of each token in megabytes (default 500, max 512)')
332-
@click.option('--max-token-size', '-t', default=500, help='max size of each token in megabytes (default 500, max 512)')
333331
@click.option('--quote-minimal/--no-quote-minimal', '-q/-d', default=False, help='only quote those fields which contain special characters such as delimiter, quotechar or any of the characters in lineterminator')
334332

335333
def bulk_insert(graph, host, port, password, nodes, relations, max_token_count, max_buffer_size, max_token_size, quote_minimal):

0 commit comments

Comments
 (0)