Skip to content

Commit f8e3a61

Browse files
committed
clean up
1 parent 1551d5e commit f8e3a61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

describe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,7 @@ def document_api(
412412
discovery_uri_template, {"api": name, "apiVersion": version}
413413
)
414414

415-
if not uri:
416-
uri = uritemplate.expand(
415+
uri = uri or uritemplate.expand(
417416
FLAGS.discovery_uri_template, {"api": name, "apiVersion": version}
418417
)
419418

0 commit comments

Comments
 (0)