Title: RE: [Svnmerge] [PATCH] svnmerge.py: all error handling to be doneusing the error() function

Daniel Rall said:
> madan said:
> +def error(s):
> +    """Subroutine to output an error and bail."""
> +    print >> sys.stderr, "%s: %s" % (NAME, s)
> +    sys.exit(1)
> +

> > We don't really need to relocate the definition of this function
> > within the source file.

I would think so too. But I tried with a sample pythong script. It expected the declaration of a function to preceed the usage. Wondering what could be different?!

Regards,
Madan.

_______________________________________________
Svnmerge mailing list
[EMAIL PROTECTED]
http://www.orcaware.com/mailman/listinfo/svnmerge

Reply via email to