Hi guys, is there any way I can modify the state of transactions in my
ledger file, from uncleared to cleared/pending? I'm thinking of something
like below:
#! /usr/bin/env python2
import ledger
def main():
for xact in ledger.read_journal("report-itd.dat").xacts():
if xact.state is xact.state.Uncleared:
xact.state = xact.state.Cleared
if __name__ == "__main__":
main()
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.