Skip to content

Commit

Permalink
Remove superfluous ostrm arg from printProducts
Browse files Browse the repository at this point in the history
  • Loading branch information
leeskelvin committed Apr 30, 2024
1 parent b5da8a4 commit 87a397f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/eups/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
from .exceptions import EupsException
from .utils import cmp_or_key

def printProducts(ostrm, productName=None, versionName=None, eupsenv=None,

def printProducts(productName=None, versionName=None, eupsenv=None,
tags=None, setup=False, tablefile=False, difference=False, directory=False,
dependencies=False, showVersion=False, showName=False, showTagsGlob="*",
depth=None, productDir=None, topological=False, checkCycles=False, raw=False):
"""
print out a listing of products. Returned is the number of products listed.
@param ostrm the output stream to send listing to
@param productName restrict the listing to this product
@param versionName restrict the listing to this version of the product.
@param eupsenv the Eups instance to use; if None, a default
Expand Down
2 changes: 1 addition & 1 deletion python/eups/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def execute(self):
print("Ignoring --depth as it only makes sense with --dependencies", file=utils.stdwarn)

try:
n = eups.printProducts(sys.stdout, product, version,
n = eups.printProducts(product, version,
self.createEups(self.opts, versionName=version, quiet=1),
tags=self.opts.tag,
setup=self.opts.setup,
Expand Down

0 comments on commit 87a397f

Please sign in to comment.