Skip to content
Snippets Groups Projects
Commit 6a20a119 authored by Brandon Hewer's avatar Brandon Hewer
Browse files

Update RemoveWorkspaceHistory docs

Refs #20818
parent 8322c469
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,9 @@ Usage
def print_workspace_history(ws):
history = ws.getHistory()
print "Workspace %s has %i algorithms in it's history" %(ws,history.size())
print("Workspace {} has {} algorithms in it's history".format(ws,history.size()))
for alg in history.getAlgorithmHistories():
print " " + alg.name()
print(" " + alg.name())
# create histogram workspace
ws = CreateSampleWorkspace(NumBanks=1,BankPixelWidth=1)
......@@ -38,7 +38,7 @@ Usage
RemoveWorkspaceHistory(ws)
print "After RemoveWorkspaceHistory"
print("After RemoveWorkspaceHistory")
print_workspace_history(ws)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment