forked from brmlab/brmbar-github
Old scripts: mark them deprecated and make them exit with status 1.
This commit is contained in:
parent
01491deec3
commit
a8e4b3216d
4 changed files with 11 additions and 0 deletions
|
@ -4,6 +4,7 @@ import argparse
|
|||
import brmbar
|
||||
import math
|
||||
from brmbar import Database
|
||||
import sys
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(usage = "File format: EAN amount total_price name, e.g. 4001242002377 6 167.40 Chio Tortillas")
|
||||
|
@ -38,5 +39,7 @@ def main():
|
|||
print("Total is {}".format(total))
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("!!! THIS PROGRAM NO LONGER WORKS !!!")
|
||||
sys.exit(1)
|
||||
main()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue