File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def filesystem_size_quartet(
150150 )
151151 )
152152 )
153- return f' { triple_str } / { "None" if limit is None else limit } '
153+ return f" { triple_str } / { limit } "
154154
155155 tables = [
156156 (
@@ -209,7 +209,7 @@ def display(self):
209209 print ()
210210 print (f"Created: { created } " )
211211 print ()
212- print (f' Snapshot origin: { "None" if origin is None else origin } ' )
212+ print (f" Snapshot origin: { origin } " )
213213 if origin is not None :
214214 scheduled = "Yes" if fs .MergeScheduled () else "No"
215215 print (f" Revert scheduled: { scheduled } " )
@@ -225,4 +225,4 @@ def display(self):
225225 f"{ TABLE_FAILURE_STRING if size_triple .free () is None else size_triple .free ()} "
226226 )
227227 print ()
228- print (f" Size Limit: { 'None' if limit is None else limit } " )
228+ print (f" Size Limit: { limit } " )
Original file line number Diff line number Diff line change @@ -367,9 +367,7 @@ def _print_detail_view(
367367
368368 metadata_version = _metadata_version (mopool )
369369
370- print (
371- f'Metadata Version: { "none" if metadata_version is None else metadata_version } '
372- )
370+ print (f"Metadata Version: { metadata_version } " )
373371
374372 print (
375373 f"Actions Allowed: "
You can’t perform that action at this time.
0 commit comments