Skip to content

Commit 9126049

Browse files
author
Russell Hay
authored
Cleanup samples (#74)
1 parent 202acea commit 9126049

File tree

9 files changed

+7
-7
lines changed

9 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ script:
1616
# pep8
1717
- pep8 .
1818
# Examples
19-
- (cd "Examples/Replicate Workbook" && python replicateWorkbook.py)
20-
- (cd "Examples/List TDS Info" && python listTDSInfo.py)
21-
- (cd "Examples/GetFields" && python show_fields.py)
19+
- (cd "samples/replicate-workbook" && python replicate_workbook.py)
20+
- (cd "samples/list-tds-info" && python list_tds_info.py)
21+
- (cd "samples/show-fields" && python show_fields.py)
2222

Examples/GetFields/World.tds

Lines changed: 0 additions & 1 deletion
This file was deleted.

Examples/List TDS Info/listTDSInfo.py renamed to samples/list-tds-info/list_tds_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
############################################################
77
# Step 2) Open the .tds we want to replicate
88
############################################################
9-
sourceTDS = Datasource.from_file('World.tds')
9+
sourceTDS = Datasource.from_file('world.tds')
1010

1111
############################################################
1212
# Step 3) List out info from the TDS
File renamed without changes.

Examples/Replicate Workbook/replicateWorkbook.py renamed to samples/replicate-workbook/replicate_workbook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
############################################################
99
# Step 2) Open the .twb we want to replicate
1010
############################################################
11-
sourceWB = Workbook('Sample - Superstore.twb')
11+
sourceWB = Workbook('sample-superstore.twb')
1212

1313
############################################################
1414
# Step 3) Use a database list (in CSV), loop thru and

Examples/GetFields/show_fields.py renamed to samples/show-fields/show_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
############################################################
77
# Step 2) Open the .tds we want to inspect
88
############################################################
9-
sourceTDS = Datasource.from_file('World.tds')
9+
sourceTDS = Datasource.from_file('world.tds')
1010

1111
############################################################
1212
# Step 3) Print out all of the fields and what type they are

samples/show-fields/world.tds

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../list-tds-info/world.tds

0 commit comments

Comments
 (0)