@@ -112,25 +112,25 @@ def run(self):
112
112
os_data_file = []
113
113
114
114
if hasattr (sys , 'real_prefix' ):
115
- HOME = os .path .join (expanduser ("~" ),'.jsnapy' )
116
- os_data_file = [(os .path .join (HOME , 'jsnapy' ),
115
+ home = os .path .join (expanduser ("~" ),'.jsnapy' )
116
+ os_data_file = [(os .path .join (home , 'jsnapy' ),
117
117
['lib/jnpr/jsnapy/logging.yml' ]),
118
- (os .path .join (HOME , 'logs/jsnapy' ), log_files ),
118
+ (os .path .join (home , 'logs/jsnapy' ), log_files ),
119
119
('samples' , example_files ),
120
- (os .path .join (HOME , 'jsnapy' ),
120
+ (os .path .join (home , 'jsnapy' ),
121
121
['lib/jnpr/jsnapy/jsnapy.cfg' ]),
122
122
('testfiles' , ['testfiles/README' ]),
123
123
('snapshots' , ['snapshots/README' ])
124
124
]
125
125
126
126
127
127
elif 'win' in sys .platform :
128
- HOME = expanduser ("~" )
129
- os_data_file = [(os .path .join (HOME , 'jsnapy' ),
128
+ home = expanduser ("~" )
129
+ os_data_file = [(os .path .join (home , 'jsnapy' ),
130
130
['lib/jnpr/jsnapy/logging.yml' ]),
131
- (os .path .join (HOME , 'logs\jsnapy' ), log_files ),
131
+ (os .path .join (home , 'logs\jsnapy' ), log_files ),
132
132
('samples' , example_files ),
133
- (os .path .join (HOME , 'jsnapy' ),
133
+ (os .path .join (home , 'jsnapy' ),
134
134
['lib/jnpr/jsnapy/jsnapy.cfg' ]),
135
135
('testfiles' , ['testfiles/README' ]),
136
136
('snapshots' , ['snapshots/README' ])
0 commit comments