質問編集履歴

2

追記

2020/02/24 07:52

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ◇以下のURLからntc-templatesはダウンロード済み。
18
18
 
19
- https://github.com/networktocode/ntc-templates
19
+ [https://github.com/networktocode/ntc-templates](https://github.com/networktocode/ntc-templates)
20
20
 
21
21
  解凍したntc-templatesはユーザディレクトリに格納済み。
22
22
 

1

追記

2020/02/24 07:52

投稿

narururu
narururu

スコア172

test CHANGED
File without changes
test CHANGED
@@ -164,7 +164,7 @@
164
164
 
165
165
  command=command_string.strip(),
166
166
 
167
- template=textfsm_template,
167
+ template=textfsm_template, ←1424行目
168
168
 
169
169
  )
170
170
 
@@ -176,7 +176,7 @@
176
176
 
177
177
  ```
178
178
 
179
- raise ValueError(msg)
179
+ raise ValueError(msg) ←229行目
180
180
 
181
181
  return os.path.abspath(template_dir)
182
182
 
@@ -196,7 +196,7 @@
196
196
 
197
197
  )
198
198
 
199
- template_dir = get_template_dir()
199
+ template_dir = get_template_dir() ←276行目
200
200
 
201
201
  index_file = os.path.join(template_dir, "index")
202
202